s3-selftest convert tests.sh to python
[samba.git] / source3 / script / tests / test_testparm_s3.sh
index 0fd1a57c2b670b538cc5facd23f03cb66e3e3d2a..bced6e7e1936f704e66643a227874562428561c9 100755 (executable)
@@ -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"