diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-09-11 08:16:50 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-09-12 20:42:22 +1000 |
commit | 28ad50e5fd1887fff149d05793b2dabe5a08051a (patch) | |
tree | 33fe1c6cac33bfa414052ca80e1a77e78b47c8ca /source3/script/tests/test_net_misc.sh | |
parent | e223a65b1011f82687e2fdfa102f305e1fd76214 (diff) | |
download | samba-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-x | source3/script/tests/test_net_misc.sh | 5 |
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" |