import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunk
[metze/old/v3-2-winbind-ndr.git] / testsuite / build_farm / basicsmb-shareguest.test
1 . basicsmb.fns
2
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
15 }
16
17 security=SHARE
18 ( test_smb_conf_setup ) || exit 1
19
20 ( test_listfilesguestshare $security ) || exit 1