mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
s3:tests: make use of TMPDIR in test_symlink_traversal_*.sh
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
87f85350cc
commit
41df9e1c74
@ -32,15 +32,15 @@ share_test_dir="$LOCAL_PATH"
|
||||
#
|
||||
# These files/directories will be created.
|
||||
#
|
||||
file_outside_share="/tmp/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="/tmp/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="/tmp/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="/tmp/symlink_traverse_test_dir_noperm.$$"
|
||||
file_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noperm.$$"
|
||||
#
|
||||
# These two objects do not exist.
|
||||
#
|
||||
file_outside_share_noexist="/tmp/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="/tmp/symlink_traverse_test_dir_noexist.$$"
|
||||
file_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noexist.$$"
|
||||
|
||||
#
|
||||
# Cleanup function.
|
||||
|
@ -32,15 +32,15 @@ share_test_dir="$LOCAL_PATH"
|
||||
#
|
||||
# These files/directories will be created.
|
||||
#
|
||||
file_outside_share="/tmp/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="/tmp/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="/tmp/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="/tmp/symlink_traverse_test_dir_noperm.$$"
|
||||
file_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noperm.$$"
|
||||
#
|
||||
# These two objects do not exist.
|
||||
#
|
||||
file_outside_share_noexist="/tmp/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="/tmp/symlink_traverse_test_dir_noexist.$$"
|
||||
file_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noexist.$$"
|
||||
|
||||
#
|
||||
# Cleanup function.
|
||||
|
@ -32,15 +32,15 @@ share_test_dir="$LOCAL_PATH"
|
||||
#
|
||||
# These files/directories will be created.
|
||||
#
|
||||
file_outside_share="/tmp/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="/tmp/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="/tmp/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="/tmp/symlink_traverse_test_dir_noperm.$$"
|
||||
file_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_file.$$"
|
||||
dir_outside_share="${TMPDIR:-/tmp}/symlink_traverse_test_dir.$$"
|
||||
file_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_file_noperm.$$"
|
||||
dir_outside_share_noperms="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noperm.$$"
|
||||
#
|
||||
# These two objects do not exist.
|
||||
#
|
||||
file_outside_share_noexist="/tmp/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="/tmp/symlink_traverse_test_dir_noexist.$$"
|
||||
file_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_noexist.$$"
|
||||
dir_outside_share_noexist="${TMPDIR:-/tmp}/symlink_traverse_test_dir_noexist.$$"
|
||||
|
||||
#
|
||||
# Cleanup function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user