tests: Run samba_tool.gpo tests against backup testenvs
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 11 Jan 2019 02:09:48 +0000 (15:09 +1300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Feb 2019 08:50:08 +0000 (09:50 +0100)
commit6158ca6e2994c5090312cf4677024b43df6bcc7e
treed5b418bb5fce3cb59bdb5fe863f8d6a4efd55c2f
parent9d9b00566c1e7795600075f7a7c572d67fb0714d
tests: Run samba_tool.gpo tests against backup testenvs

Run the GPO tests against the backup/restore testenvs.

Because the backup/restore preserves the NTACLs of the sysvol files,
running the GPO tests against the backup testenvs is a good sanity-
check. If fact it highlights that there is currently a problem with
restoring the GPO files - this shows up in 'samba-tool gpo aclcheck',
but we never noticed it until now.

NTACL backup works slightly different for offline backups, and rename
backups end up with more sysvol files, so run the tests against both
these envs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2a7372da7b84921b247cefc23d7003b8056d74a4)
selftest/knownfail.d/gpo [new file with mode: 0644]
source4/selftest/tests.py