summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-08 20:17:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:19 -0500
commite739baf3a1f61b6e2b7d52452c30b52ba1c933b4 (patch)
treef6fafe6ef9c1b2b13fefc0e39ecb57a5ebf42015 /source3/script/tests
parent78d21c7785ae85649b7356a774787d008285133b (diff)
downloadsamba-e739baf3a1f61b6e2b7d52452c30b52ba1c933b4.tar.gz
samba-e739baf3a1f61b6e2b7d52452c30b52ba1c933b4.tar.bz2
samba-e739baf3a1f61b6e2b7d52452c30b52ba1c933b4.zip
r19168: use the correct configuration
metze (This used to be commit bf90ac567fc809bb8949b066e822a88170b73ac5)
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh
index 01efebcd53..3a8f3bd5b6 100755
--- a/source3/script/tests/test_smbclient_s3.sh
+++ b/source3/script/tests/test_smbclient_s3.sh
@@ -24,7 +24,7 @@ test_noninteractive_no_prompt()
prompt="smb"
echo du | \
- $SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp 2>&1 | \
+ $SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp 2>&1 | \
grep $prompt
if [ $? = 0 ] ; then
@@ -48,7 +48,7 @@ quit
EOF
CLI_FORCE_INTERACTIVE=yes \
- $SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp \
+ $SMBCLIENT $CONFIGURATION "$@" -U$USERNAME%$PASSWORD //$SERVER/tmp \
< $tmpfile 2>/dev/null | \
grep $prompt
@@ -63,8 +63,8 @@ EOF
fi
}
-testit "smbclient -L $SERVER_IP" $SMBCLIENT -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1`
-testit "smbclient -L $SERVER" $SMBCLIENT -L $SERVER -N -p 139 || failed=`expr $failed + 1`
+testit "smbclient -L $SERVER_IP" $SMBCLIENT $CONFIGURATION -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1`
+testit "smbclient -L $SERVER" $SMBCLIENT $CONFIGURATION -L $SERVER -N -p 139 || failed=`expr $failed + 1`
testit "noninteractive smbclient does not prompt" \
test_noninteractive_no_prompt || \