summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_testparm_s3.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-08-13s3-selftest: fix testparm tests as non-root.Günther Deschner1-1/+1
Thanks to Andreas for pointing this out. Guenther
2009-01-30s3:tests: add a guard arround . $incdir/test_functions.shStefan Metzmacher1-0/+2
So that caller can overwrite the functions. metze
2008-10-27[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.Michael Adam1-1/+1
Use whole argument string in test_one_global_option(), not only first. Michael
2008-07-15testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checksMichael Adam1-1/+1
as suggested by Karolin. That is what it really means. And per-share logic tests will be disabled by the same switch, too... Michael (This used to be commit 5b8a4c33482917a1ef7071df224957ba831d853a)
2008-07-15testsuite: fix bug #5594 by using the new --skip-global-ckecks switchMichael Adam1-1/+1
Michael (This used to be commit 32f4b1443af12026c419684be45a7d8b96ccfaac)
2008-06-19testsuite: add a testparm_s3 test script.Michael Adam1-0/+90
This is a first testparm/lp_load test that runs testparm on a couple of configuration files. The main purpose for now is to test the options that have special handlers (to check whether the handlers succeed). In particular, all the Macro expansions that are available via alloc_sub_basic() are tested with the include handler. This is to catch such crashbugs as #5548 where %m expansion led to a segfault. The tests now are very simple. Just check if testparm completes successfully on the given config files. This can (and should) be elaborated in the future. Michael (This used to be commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a)