summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-04 19:18:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-04 19:48:58 +1000
commit841d0bc9e81dbe56352ac8b12e63e8257963936e (patch)
treea305fb2cd9dbfe152867bb41d01e12ed683aaf5b /source3/script/tests
parent6351dee4d810bfa20c3a892d0eba3b2ac828e193 (diff)
downloadsamba-841d0bc9e81dbe56352ac8b12e63e8257963936e.tar.gz
samba-841d0bc9e81dbe56352ac8b12e63e8257963936e.tar.bz2
samba-841d0bc9e81dbe56352ac8b12e63e8257963936e.zip
s3-selftest Remove more instances of /tmp in test_smbclient_s3.sh
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh
index 30b26a4d8c..972f68f42b 100755
--- a/source3/script/tests/test_smbclient_s3.sh
+++ b/source3/script/tests/test_smbclient_s3.sh
@@ -131,7 +131,7 @@ EOF
# Test creating a good symlink and deleting it by path.
test_good_symlink()
{
- tmpfile=/tmp/smbclient.in.$$
+ tmpfile=$PREFIX/smbclient.in.$$
slink_name="$LOCAL_PATH/slink"
slink_target="$LOCAL_PATH/slink_target"
@@ -181,7 +181,7 @@ EOF
test_read_only_dir()
{
prompt="NT_STATUS_ACCESS_DENIED making remote directory"
- tmpfile=/tmp/smbclient.in.$$
+ tmpfile=$PREFIX/smbclient.in.$$
##
## We can't do this as non-root. We always have rights to
@@ -238,7 +238,7 @@ EOF
test_owner_only_file()
{
prompt="NT_STATUS_ACCESS_DENIED opening remote file"
- tmpfile=/tmp/smbclient.in.$$
+ tmpfile=$PREFIX/smbclient.in.$$
##
## We can't do this as non-root. We always have rights to
@@ -294,7 +294,7 @@ EOF
# Test accessing an msdfs path.
test_msdfs_link()
{
- tmpfile=/tmp/smbclient.in.$$
+ tmpfile=$PREFIX/smbclient.in.$$
prompt=" msdfs-target "
cat > $tmpfile <<EOF