summaryrefslogtreecommitdiff
path: root/source3/script/tests/t_001.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/tests/t_001.sh')
-rw-r--r--source3/script/tests/t_001.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/script/tests/t_001.sh b/source3/script/tests/t_001.sh
index 995cfb11eb..6d54d0e489 100644
--- a/source3/script/tests/t_001.sh
+++ b/source3/script/tests/t_001.sh
@@ -8,7 +8,7 @@ cat >$CONFFILE<<EOF
smb ports = 139
[test]
- path = $TMPDIR
+ path = $PREFIX_ABS/tmp
read only = no
EOF
@@ -16,6 +16,10 @@ EOF
## Test code
##
+/bin/rm -rf $PREFIX_ABS/tmp
+mkdir $PREFIX_ABS/tmp
+chmod 1777 $PREFIX_ABS/tmp
+
start_smbd || exit $?
smbclient $CONFIGURATION -L localhost -N -p 139