diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-21 16:01:44 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-22 16:20:10 +1100 |
commit | a82d9e4e72d624916b1e12393a73a4d79ae080d2 (patch) | |
tree | 91b8a2ad1beec40bc7c9fac497b80be0ded13b26 /source3/script/tests/test_testparm_s3.sh | |
parent | 0b066b88dfbcc612089cdb5d971b7bb1bb7542ed (diff) | |
download | samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.tar.gz samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.tar.bz2 samba-a82d9e4e72d624916b1e12393a73a4d79ae080d2.zip |
s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.
Andrew Bartlett
Diffstat (limited to 'source3/script/tests/test_testparm_s3.sh')
-rwxr-xr-x | source3/script/tests/test_testparm_s3.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/script/tests/test_testparm_s3.sh b/source3/script/tests/test_testparm_s3.sh index 0fd1a57c2b..bced6e7e19 100755 --- a/source3/script/tests/test_testparm_s3.sh +++ b/source3/script/tests/test_testparm_s3.sh @@ -5,6 +5,15 @@ # The main purpose (for now) is to test all the special handlers # and the macro expansions. +if [ $# -lt 1 ]; then +cat <<EOF +Usage: test_net_registry_roundtrip.sh LOCAL_PATH +EOF +exit 1; +fi + +LOCAL_PATH="$1" + TEMP_CONFFILE=${LOCAL_PATH}/smb.conf.tmp TESTPARM="$VALGRIND ${TESTPARM:-$BINDIR/testparm} --suppress-prompt --skip-logic-checks" |