summaryrefslogtreecommitdiff
path: root/source4/client/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client/tests')
-rwxr-xr-xsource4/client/tests/test_smbclient.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/client/tests/test_smbclient.sh b/source4/client/tests/test_smbclient.sh
index 599eb70522..d2f38e3fcc 100755
--- a/source4/client/tests/test_smbclient.sh
+++ b/source4/client/tests/test_smbclient.sh
@@ -5,7 +5,7 @@
if [ $# -lt 5 ]; then
cat <<EOF
-Usage: test_smbclient.sh SERVER USERNAME PASSWORD DOMAIN PREFIX
+Usage: test_smbclient.sh SERVER USERNAME PASSWORD DOMAIN PREFIX SMBCLIENT
EOF
exit 1;
fi
@@ -15,12 +15,10 @@ USERNAME=$2
PASSWORD=$3
DOMAIN=$4
PREFIX=$5
-shift 5
+smbclient=$6
+shift 6
failed=0
-samba4bindir="$BINDIR"
-smbclient="$samba4bindir/smbclient"
-
. `dirname $0`/../../../testprogs/blackbox/subunit.sh
runcmd() {