• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/testsuite/build_farm/
1. basicsmb.fns
2test_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# Need guest account
16password=samba
17security=USER
18(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
19
20test_sharelist || exit 1
21
22
23