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-sharelist.test
Andrew Bartlett d6ffe900c9 Changed some of the tests around, made failures for parts actualy count
Andrew Bartlett
(This used to be commit 56a881b2b4)
2001-06-27 00:32:52 +00:00

20 lines
356 B
Plaintext

. basicsmb.fns
test_sharelist() {
echo $prefix/bin/smbclient -U$whoami% -L localhost
$prefix/bin/smbclient -U$whoami% -L localhost
status=$?
if [ $status = 0 ]; then
echo "smbd listed shares OK"
else
echo "listing shares with smbd failed with status $status"
return 1
fi
return 0
}
(test_smb_conf_setup) || exit 1
test_sharelist || exit 1