param: Amend docs.py test to check dumping of flagged parameters
authorGarming Sam <garming@catalyst.net.nz>
Thu, 3 Jul 2014 04:04:06 +0000 (16:04 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jul 2014 23:57:59 +0000 (01:57 +0200)
commitfdc9a322b1e346fe95dc59749f3c77d6ff27d7de
treebe183c1e0af1da159eea358686b8ad16e99bf950
parentcafe2966a00061732e72ffb37c1d7a338152171b
param: Amend docs.py test to check dumping of flagged parameters

This test uses an empty smb.conf file to check if the resulting
output from testparm is empty.

It also sets a parameter as default in an smb.conf file and then
sets the option on the command line to ensure they are displayed
correctly.

Change-Id: I48f05b6e3c9e5cd856e89b196e00ae35eb93bf9f
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul  8 01:57:59 CEST 2014 on sn-devel-104
python/samba/tests/docs.py