summaryrefslogtreecommitdiff
path: root/source4/client/tests
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-30 11:48:02 +0200
committerMichael Adam <obnox@samba.org>2012-05-31 04:46:06 +0200
commit11a2eeabaaf17be5475dce0cfed3022b08937876 (patch)
tree0a1c09290ca64f1ff6b70ee6745d3805867fbb6d /source4/client/tests
parent4b071937053430601edb00c9fae0dba3211d6741 (diff)
downloadsamba-11a2eeabaaf17be5475dce0cfed3022b08937876.tar.gz
samba-11a2eeabaaf17be5475dce0cfed3022b08937876.tar.bz2
samba-11a2eeabaaf17be5475dce0cfed3022b08937876.zip
s4:selftest: change the blackbox.smbclient test to use binary mapping for smbclient
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() {