Don't hardcode path to file in /tmp; this violates the kyua sandbox
MFC after: 1 month
This commit is contained in:
parent
de1abb9778
commit
2b808adfb3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320445
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user