summaryrefslogtreecommitdiffstats
path: root/source3/script/tests/test_net_conf.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-11 08:16:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-12 20:42:22 +1000
commit28ad50e5fd1887fff149d05793b2dabe5a08051a (patch)
tree33fe1c6cac33bfa414052ca80e1a77e78b47c8ca /source3/script/tests/test_net_conf.sh
parente223a65b1011f82687e2fdfa102f305e1fd76214 (diff)
downloadsamba-28ad50e5fd1887fff149d05793b2dabe5a08051a.tar.gz
samba-28ad50e5fd1887fff149d05793b2dabe5a08051a.tar.xz
samba-28ad50e5fd1887fff149d05793b2dabe5a08051a.zip
s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scripts
This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
Diffstat (limited to 'source3/script/tests/test_net_conf.sh')
-rwxr-xr-xsource3/script/tests/test_net_conf.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/script/tests/test_net_conf.sh b/source3/script/tests/test_net_conf.sh
index ee2903be028..6d3d2a1eecd 100755
--- a/source3/script/tests/test_net_conf.sh
+++ b/source3/script/tests/test_net_conf.sh
@@ -6,15 +6,16 @@
if [ $# -lt 3 ]; then
cat <<EOF
-Usage: test_net_conf.sh SCRIPTDIR SERVERCONFFILE CONFIGURATION [rpc]
+Usage: test_net_conf.sh SCRIPTDIR SERVERCONFFILE NET CONFIGURATION [rpc]
EOF
exit 1;
fi
SCRIPTDIR="$1"
SERVERCONFFILE="$2"
-CONFIGURATION="$3"
-RPC="$4"
+NET="$3"
+CONFIGURATION="$4"
+RPC="$5"
LOGDIR_PREFIX="conf_test"