1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/testsuite/build_farm/basicsmb-shareguest.test
Andrew Bartlett 8326666b7c Update tests, start testing password server code, now I have it working and
know what it does...

Andrew Bartlett
(This used to be commit 51903dbfee)
2001-07-08 14:24:29 +00:00

20 lines
522 B
Plaintext

. basicsmb.fns
test_listfilesguestshare() {
remote_name=$1
echo $prefix/bin/smbclient //$remote_name/guest_share -n buildclient -U$whoami% -c 'ls'
$prefix/bin/smbclient //$remote_name/guest_share -n buildclient -U$whoami% -c 'ls'
status=$?
if [ $status = 0 ]; then
echo "smbd listed files correctly (guest share)"
else
echo "listing files on a guest share failed with status $status"
return 1
fi
return 0
}
security=SHARE
( test_smb_conf_setup ) || exit 1
( test_listfilesguestshare $security ) || exit 1