testsuite: add a testparm_s3 test script.
authorMichael Adam <obnox@samba.org>
Thu, 19 Jun 2008 15:14:39 +0000 (17:14 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 19 Jun 2008 15:22:27 +0000 (17:22 +0200)
commiteb28146d40b8a8bc2c20b8d222abf191ea178d5a
tree3e200d48b384a0639ccf7c90a2aa4338b6d1e737
parent73c17b630317b5019e5d5f2b989b8de081a73e07
testsuite: add a testparm_s3 test script.

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
source/script/tests/test_testparm_s3.sh [new file with mode: 0755]