r9585: update test #1
[Samba/nascimento.git] / source / script / tests / t_001.sh
blob995cfb11eb479d67e3d064e377062a7a81e7c9e4
1 #!/bin/sh
3 . $SCRIPTDIR/functions
5 cat >$CONFFILE<<EOF
6 [global]
7 include = $LIBDIR/common.conf
8 smb ports = 139
10 [test]
11 path = $TMPDIR
12 read only = no
13 EOF
16 ## Test code
19 start_smbd || exit $?
21 smbclient $CONFIGURATION -L localhost -N -p 139
22 ret=$?
24 stop_smbd
26 exit $ret