smb2_ioctl: remove ioctl error response assumptions
[Samba/id10ts.git] / testsuite / build_farm / basicsmb-shareguest.test
blob4ba445a17e31d9aacc945830e93573188fb76f2d
1 . basicsmb.fns
3 test_listfilesguestshare() {
4         remote_name=$1
5         echo $prefix/bin/smbclient //$remote_name/guest_share -n buildclient -U$whoami% -c 'ls'
6         $prefix/bin/smbclient //$remote_name/guest_share -n buildclient -U$whoami% -c 'ls'
7         status=$?
8         if [ $status = 0 ]; then
9                 echo "smbd listed files correctly (guest share)"
10         else 
11                 echo "listing files on a guest share failed with status $status"
12                 return 1
13         fi
14         return 0
17 security=SHARE
18 ( test_smb_conf_setup ) || exit 1
20 ( test_listfilesguestshare $security ) || exit 1