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)
committerJeremy Allison <jra@samba.org>
Thu, 17 Jan 2019 00:40:30 +0000 (01:40 +0100)
commit2a7372da7b84921b247cefc23d7003b8056d74a4
tree714e12a59be22719b627fb5224936bbacad95f71
parent6a29e63f32c0024587020fc1f92b3d1ecaa0afbc
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>
selftest/knownfail.d/gpo [new file with mode: 0644]
source4/selftest/tests.py