aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-07-28 03:25:01 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-07-28 03:25:01 +0000
commit5e75bdd6c10a0d8a3f7f42988bde78a3fca118b9 (patch)
treec479ebbbad6fe4348b52facb1874565c225eace4 /tests
parent2e6725c164aeaaf22207b3bd89fc0a5a1b70729b (diff)
Notes
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sys/vfs/trailing_slash.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sys/vfs/trailing_slash.sh b/tests/sys/vfs/trailing_slash.sh
index b1b8523e93e2..255caf901605 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