diff options
author | ngie <ngie@FreeBSD.org> | 2017-07-28 03:25:01 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-07-28 03:25:01 +0000 |
commit | 2fa735768f0f2a0a10f33d26ce99e93e6c8d0197 (patch) | |
tree | c479ebbbad6fe4348b52facb1874565c225eace4 | |
parent | 7e83df1ec251bf08958f35b0714dcb0bee2d90a6 (diff) | |
download | FreeBSD-src-2fa735768f0f2a0a10f33d26ce99e93e6c8d0197.zip FreeBSD-src-2fa735768f0f2a0a10f33d26ce99e93e6c8d0197.tar.gz |
MFC r320445:
Don't hardcode path to file in /tmp; this violates the kyua sandbox
-rwxr-xr-x | tests/sys/vfs/trailing_slash.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sys/vfs/trailing_slash.sh b/tests/sys/vfs/trailing_slash.sh index b1b8523..255caf9 100755 --- a/tests/sys/vfs/trailing_slash.sh +++ b/tests/sys/vfs/trailing_slash.sh @@ -6,8 +6,9 @@ # point to files. See kern/21768 for details. Fixed in r193028. # -testfile="/tmp/testfile-$$" -testlink="/tmp/testlink-$$" +: ${TMPDIR=/tmp} +testfile="$TMPDIR/testfile-$$" +testlink="$TMPDIR/testlink-$$" tests=" $testfile:$testlink:$testfile:0 |