Don't hardcode path to file in /tmp; this violates the kyua sandbox

MFC after:	1 month
This commit is contained in:
Enji Cooper 2017-06-28 08:28:07 +00:00
parent de1abb9778
commit 2b808adfb3

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