]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
gpo: Test gpo monthly scripts apply
authorDavid Mulder <dmulder@suse.com>
Thu, 25 Jun 2020 21:03:03 +0000 (15:03 -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 18bcf81f40cfe5995aa5cdfa88fd3a702db0f545..57403d34983089708dd4f73a501beaf429382ecd 100644 (file)
@@ -342,6 +342,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\\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