MFC r320445:

Don't hardcode path to file in /tmp; this violates the kyua sandbox
This commit is contained in:
Enji Cooper 2017-07-28 03:24:57 +00:00
parent 40351de006
commit ecf0f66ab3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=321641

View File

@ -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