summaryrefslogtreecommitdiff
path: root/source3/script/tests/t_002.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/tests/t_002.sh')
-rw-r--r--source3/script/tests/t_002.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/script/tests/t_002.sh b/source3/script/tests/t_002.sh
index 48987262a7..42070bed80 100644
--- a/source3/script/tests/t_002.sh
+++ b/source3/script/tests/t_002.sh
@@ -7,7 +7,7 @@ cat >$CONFFILE<<EOF
include = $LIBDIR/common.conf
[test]
- path = $TMPDIR
+ path = $PREFIX_ABS/tmp
read only = no
EOF
@@ -15,6 +15,11 @@ EOF
## Test code
##
+/bin/rm -rf $PREFIX_ABS/tmp
+mkdir $PREFIX_ABS/tmp
+chmod 1777 $PREFIX_ABS/tmp
+
+
start_smbd || exit $?
smbtorture //localhost/test -U${USERNAME}%${PASSWORD} FDPASS