summaryrefslogtreecommitdiff
path: root/source3/script/tests/test_smbclient_s3.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-15 16:39:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-16 11:43:04 +0200
commit1870d254956ec56b8116a923adc38f8aae675963 (patch)
tree052f3b9f9966b143563678066d3f2c63d3975d77 /source3/script/tests/test_smbclient_s3.sh
parent48bb69ef001be8270ddf145fa4884a2c5ddc2645 (diff)
downloadsamba-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_smbclient_s3.sh')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh
index 972f68f42b..0395f3e12c 100755
--- a/source3/script/tests/test_smbclient_s3.sh
+++ b/source3/script/tests/test_smbclient_s3.sh
@@ -4,7 +4,7 @@
if [ $# -lt 7 ]; then
cat <<EOF
-Usage: test_smbclient_s3.sh SERVER SERVER_IP USERNAME PASSWORD USERID LOCAL_PATH PREFIX
+Usage: test_smbclient_s3.sh SERVER SERVER_IP USERNAME PASSWORD USERID LOCAL_PATH PREFIX SMBCLIENT
EOF
exit 1;
fi
@@ -16,9 +16,10 @@ PASSWORD="$4"
USERID="$5"
LOCAL_PATH="$6"
PREFIX="$7"
-SMBCLIENT="$VALGRIND ${SMBCLIENT:-$BINDIR/smbclient}"
+SMBCLIENT="$8"
+SMBCLIENT="$VALGRIND ${SMBCLIENT}"
WBINFO="$VALGRIND ${WBINFO:-$BINDIR/wbinfo}"
-shift 7
+shift 8
ADDARGS="$*"
incdir=`dirname $0`/../../../testprogs/blackbox