summaryrefslogtreecommitdiff
path: root/source3/script/tests/t_002.sh
blob: 48987262a733dbab804f2dffcc987e06caa4e667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

. $SCRIPTDIR/functions

cat >$CONFFILE<<EOF
[global]
	include = $LIBDIR/common.conf

[test]
	path = $TMPDIR
	read only = no
EOF

##
## Test code 
##

start_smbd || exit $?

smbtorture //localhost/test -U${USERNAME}%${PASSWORD} FDPASS
ret=$?

stop_smbd

exit $ret