From e87cb83b472a4906e0bd27a6a6fee3c8387a7567 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Fri, 14 Mar 2014 10:27:54 +1300 Subject: 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 Reviewed-by: Andrew Bartlett Reviewed-by: Nadezhda Ivanova --- python/samba/tests/docs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python') 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()) -- cgit