summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-05-28 14:24:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:59 -0500
commit5a74acbb177efb5ea1d555383d70174ffe0b2129 (patch)
tree7f51ed690c531436bd64bb47c74d3a73cae833e0 /testprogs/blackbox
parente3af07d1b1756f3e723f276ff4362ec784680faf (diff)
downloadsamba-5a74acbb177efb5ea1d555383d70174ffe0b2129.tar.gz
samba-5a74acbb177efb5ea1d555383d70174ffe0b2129.tar.bz2
samba-5a74acbb177efb5ea1d555383d70174ffe0b2129.zip
r23174: merge text
(This used to be commit a6293ab5cb31a73f23adebacc68d2d383fa62e22)
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_smbclient.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_smbclient.sh b/testprogs/blackbox/test_smbclient.sh
index 413b680a52..dfe13a3d4f 100755
--- a/testprogs/blackbox/test_smbclient.sh
+++ b/testprogs/blackbox/test_smbclient.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+# Blackbox tests for smbclient
+# Copyright (C) 2006-2007 Jelmer Vernooij <jelmer@samba.org>
+# Copyright (C) 2006-2007 Andrew Bartlett <abartlet@samba.org>
if [ $# -lt 5 ]; then
cat <<EOF
@@ -96,6 +99,8 @@ echo rm tmpfilex | runcmd "Removing file" || failed=`expr $failed + 1`
echo ls | runcmd "List directory with LANMAN1" -m LANMAN1 || failed=`expr $failed + 1`
echo ls | runcmd "List directory with LANMAN2" -m LANMAN2 || failed=`expr $failed + 1`
+echo pwd | runcmd "Print current working directory" || failed=`expr $failed + 1`
+
echo ls | testit "Test login with --machine-pass without kerberos" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp --machine-pass -k no || failed=`expr $failed + 1`
echo ls | testit "Test login with --machine-pass and kerberos" $VALGRIND bin/smbclient $CONFIGURATION //$SERVER/tmp --machine-pass -k yes || failed=`expr $failed + 1`