summaryrefslogtreecommitdiffstats
path: root/python/samba/tests/docs.py
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-03-14 10:27:54 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-07-07 23:32:36 +0200
commite87cb83b472a4906e0bd27a6a6fee3c8387a7567 (patch)
tree36ba36c5da7998ab642cbed600b4a2fad87de13f /python/samba/tests/docs.py
parent8947af1bd20638114a32631986325e013bfa0104 (diff)
downloadsamba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.tar.gz
samba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.tar.xz
samba-e87cb83b472a4906e0bd27a6a6fee3c8387a7567.zip
param: handle smb_ports as a special handler
Avoids some problems with using str_list_make and str_list_make_v3 and tries to verify if the ports assignment is reasonable Change-Id: I441c4cca605c7548a5023b65994004fbac57d2df Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'python/samba/tests/docs.py')
-rw-r--r--python/samba/tests/docs.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py
index 927b374902..61295d7609 100644
--- a/python/samba/tests/docs.py
+++ b/python/samba/tests/docs.py
@@ -188,12 +188,14 @@ class SmbDotConfTests(TestCase):
'registry shares',
'idmap backend',
'idmap gid',
- 'idmap uid'])
+ 'idmap uid',
+ 'smb ports'])
def test_default_s4(self):
self._test_default(['bin/samba-tool', 'testparm'])
self._set_defaults(['bin/samba-tool', 'testparm'])
- self._set_arbitrary(['bin/samba-tool', 'testparm'])
+ self._set_arbitrary(['bin/samba-tool', 'testparm'],
+ exceptions = ['smb ports'])
def _test_default(self, program):
topdir = os.path.abspath(samba.source_tree_topdir())