summaryrefslogtreecommitdiffstats
path: root/source3/script/tests/test_net_misc.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_misc.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_misc.sh')
-rwxr-xr-xsource3/script/tests/test_net_misc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/script/tests/test_net_misc.sh b/source3/script/tests/test_net_misc.sh
index 82775dc4d31..566694be74b 100755
--- a/source3/script/tests/test_net_misc.sh
+++ b/source3/script/tests/test_net_misc.sh
@@ -4,14 +4,15 @@
if [ $# -lt 3 ]; then
cat <<EOF
-Usage: test_net_misc.sh SCRIPTDIR SERVERCONFFILE CONFIGURATION
+Usage: test_net_misc.sh SCRIPTDIR SERVERCONFFILE NET CONFIGURATION
EOF
exit 1;
fi
SCRIPTDIR="$1"
SERVERCONFFILE="$2"
-CONFIGURATION="$3"
+NET="$3"
+CONFIGURATION="$4"
NET="$VALGRIND ${NET:-$BINDIR/net} $CONFIGURATION"