Changed some of the tests around, made failures for parts actualy count
[ira/wip.git] / testsuite / build_farm / basicsmb-listfilesnpw.test
1 . basicsmb.fns
2
3 test_listfilesnpw() {
4         echo $prefix/bin/smbclient //localhost/samba -U$whoami% -c 'ls'
5         $prefix/bin/smbclient //localhost/samba -U$whoami% -c 'ls'
6         status=$?
7         if [ $status = 0 ]; then
8                 echo "smbd listed files in user level security with NO PASSWORD!"
9                 return 1
10         else 
11                 echo "listing files with smbd failed with status $status (correct)"
12         fi
13         return 0
14 }
15
16 password=samba
17
18 (test_smb_conf_setup && test_smbpasswd) || exit 1
19
20 test_listfilesnpw || exit 1
21
22