]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
gpo: Test gpo weekly scripts apply
authorDavid Mulder <dmulder@suse.com>
Thu, 25 Jun 2020 21:23:35 +0000 (15:23 -0600)
committerDavid Mulder <dmulder@samba.org>
Thu, 6 Aug 2020 16:38:35 +0000 (16:38 +0000)
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/gpo.py
selftest/knownfail.d/gpo [new file with mode: 0644]

index 57403d34983089708dd4f73a501beaf429382ecd..82057286c73141066c94e744a8bd6daf826167b1 100644 (file)
@@ -343,6 +343,7 @@ class GPOTests(tests.TestCase):
         reg_key = b'Software\\Policies\\Samba\\Unix Settings'
         sections = { b'%s\\Daily Scripts' % reg_key : '.cron.daily',
                      b'%s\\Monthly Scripts' % reg_key : '.cron.monthly',
+                     b'%s\\Weekly Scripts' % reg_key : '.cron.weekly',
                      b'%s\\Hourly Scripts' % reg_key : '.cron.hourly' }
         for keyname in sections.keys():
             # Stage the Registry.pol file with test data
diff --git a/selftest/knownfail.d/gpo b/selftest/knownfail.d/gpo
new file mode 100644 (file)
index 0000000..27f3459
--- /dev/null
@@ -0,0 +1 @@
+^samba.tests.gpo.samba.tests.gpo.GPOTests.test_gp_scripts