diff options
Diffstat (limited to 'source3/script/tests/t_002.sh')
-rw-r--r-- | source3/script/tests/t_002.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source3/script/tests/t_002.sh b/source3/script/tests/t_002.sh new file mode 100644 index 0000000000..48987262a7 --- /dev/null +++ b/source3/script/tests/t_002.sh @@ -0,0 +1,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 |