diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-06-27 00:32:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-06-27 00:32:52 +0000 |
commit | d6ffe900c934655410fffc67387f16784ee6303e (patch) | |
tree | 1a335ed6c1ff654e4b11827fe6a69d8ea0186a96 /testsuite/build_farm/basicsmb-listfilesnpw.test | |
parent | c2cfcb34e1fdef24ac7979bb0f77340d27fc6926 (diff) | |
download | samba-d6ffe900c934655410fffc67387f16784ee6303e.tar.gz samba-d6ffe900c934655410fffc67387f16784ee6303e.tar.bz2 samba-d6ffe900c934655410fffc67387f16784ee6303e.zip |
Changed some of the tests around, made failures for parts actualy count
Andrew Bartlett
(This used to be commit 56a881b2b4957912055fdf053ef37ca2ea3606b8)
Diffstat (limited to 'testsuite/build_farm/basicsmb-listfilesnpw.test')
-rw-r--r-- | testsuite/build_farm/basicsmb-listfilesnpw.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/build_farm/basicsmb-listfilesnpw.test b/testsuite/build_farm/basicsmb-listfilesnpw.test new file mode 100644 index 0000000000..a470b29b2e --- /dev/null +++ b/testsuite/build_farm/basicsmb-listfilesnpw.test @@ -0,0 +1,22 @@ +. basicsmb.fns + +test_listfilesnpw() { + echo $prefix/bin/smbclient //localhost/samba -U$whoami% -c 'ls' + $prefix/bin/smbclient //localhost/samba -U$whoami% -c 'ls' + status=$? + if [ $status = 0 ]; then + echo "smbd listed files in user level security with NO PASSWORD!" + return 1 + else + echo "listing files with smbd failed with status $status (correct)" + fi + return 0 +} + +password=samba + +(test_smb_conf_setup && test_smbpasswd) || exit 1 + +test_listfilesnpw || exit 1 + + |