diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-15 16:39:53 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-16 11:43:04 +0200 |
commit | 1870d254956ec56b8116a923adc38f8aae675963 (patch) | |
tree | 052f3b9f9966b143563678066d3f2c63d3975d77 /source3/script/tests/test_smbtorture_s3.sh | |
parent | 48bb69ef001be8270ddf145fa4884a2c5ddc2645 (diff) | |
download | samba-1870d254956ec56b8116a923adc38f8aae675963.tar.gz samba-1870d254956ec56b8116a923adc38f8aae675963.tar.bz2 samba-1870d254956ec56b8116a923adc38f8aae675963.zip |
selftest Add binary mappings for samba3 selftest
This will help us have a top level 'make test', working around the
fact that the --eanble-s3build has different names for some of these
binaries, without fixing the names forever (we can just change the
mapping later).
Andrew Bartlett
Diffstat (limited to 'source3/script/tests/test_smbtorture_s3.sh')
-rwxr-xr-x | source3/script/tests/test_smbtorture_s3.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/script/tests/test_smbtorture_s3.sh b/source3/script/tests/test_smbtorture_s3.sh index 65c98a58ec..07d940faa1 100755 --- a/source3/script/tests/test_smbtorture_s3.sh +++ b/source3/script/tests/test_smbtorture_s3.sh @@ -4,7 +4,7 @@ if [ $# -lt 4 ]; then cat <<EOF -Usage: test_smbtorture_s3.sh TEST UNC USERNAME PASSWORD <smbtorture args> +Usage: test_smbtorture_s3.sh TEST UNC USERNAME PASSWORD SMBTORTURE <smbtorture args> EOF exit 1; fi @@ -13,7 +13,8 @@ t="$1" unc="$2" username="$3" password="$4" -shift 4 +SMBTORTURE="$5" +shift 5 ADDARGS="$*" incdir=`dirname $0`/../../../testprogs/blackbox @@ -22,6 +23,6 @@ incdir=`dirname $0`/../../../testprogs/blackbox failed=0 -testit "smbtorture" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1` +testit "smbtorture" $VALGRIND $SMBTORTURE $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1` testok $0 $failed |