test:doc: Skip 'clustering=yes'
authorChristof Schmitt <cs@samba.org>
Tue, 21 Aug 2018 21:58:01 +0000 (14:58 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Sep 2018 15:26:15 +0000 (17:26 +0200)
As testparm will error out when running clustering=yes as non-root, skip
this step to avoid a test failure.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/tests/docs.py

index 6ffdeab90403b49e35434fb9fa2959460be6f8f8..5a59ed68588799aa689b8bb7fcd14dae9c69286f 100644 (file)
@@ -159,12 +159,13 @@ class SmbDotConfTests(TestCase):
 
         # registry shares appears to need sudo
         self._set_arbitrary(['bin/testparm'],
-                            exceptions=['client lanman auth',
-                                        'client plaintext auth',
-                                        'registry shares',
-                                        'smb ports',
-                                        'rpc server dynamic port range',
-                                        'name resolve order'])
+            exceptions = ['client lanman auth',
+                          'client plaintext auth',
+                          'registry shares',
+                          'smb ports',
+                          'rpc server dynamic port range',
+                          'name resolve order',
+                          'clustering'])
         self._test_empty(['bin/testparm'])
 
     def test_default_s4(self):