on sco2 socketpair_tcp needs a bind
[jra/samba/.git] / testsuite / build_farm / basicsmb-listfilesauth.test
1 . basicsmb.fns
2
3 test_listfilesauth() {
4         echo $prefix/bin/smbclient //localhost/samba -U$whoami%$password -c 'ls'
5         $prefix/bin/smbclient //localhost/samba -U$whoami%$password -c 'ls'
6         status=$?
7         if [ $status = 0 ]; then
8                 echo "listed files OK"
9         else 
10                 echo "listing files with smbd failed with status $status"
11                 return 1
12         fi
13         return 0
14 }
15
16 password=samba
17
18 (test_smb_conf_setup && test_smbpasswd) || exit 1
19
20 test_listfilesauth || exit 1
21
22