See if we can get a slight chance of this actually working...
[nivanova/samba-autobuild/.git] / testsuite / build_farm / basicsmb-sharelist.test
1 . basicsmb.fns
2 test_sharelist() {
3         echo $prefix/bin/smbclient -U$whoami% -L localhost
4         $prefix/bin/smbclient -U$whoami% -L localhost
5         status=$?
6         if [ $status = 0 ]; then
7                 echo "smbd listed shares OK"
8         else
9                 echo "listing shares with smbd failed with status $status"
10                 return 1
11         fi
12         return 0
13 }
14
15 (test_smb_conf_setup) || exit 1
16
17 test_sharelist || exit 1
18
19