Date: Wed, 28 Jun 2017 08:28:07 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320445 - head/tests/sys/vfs Message-ID: <201706280828.v5S8S7eE096175@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Jun 28 08:28:07 2017 New Revision: 320445 URL: https://svnweb.freebsd.org/changeset/base/320445 Log: Don't hardcode path to file in /tmp; this violates the kyua sandbox MFC after: 1 month Modified: head/tests/sys/vfs/trailing_slash.sh Modified: head/tests/sys/vfs/trailing_slash.sh ============================================================================== --- head/tests/sys/vfs/trailing_slash.sh Wed Jun 28 08:23:20 2017 (r320444) +++ head/tests/sys/vfs/trailing_slash.sh Wed Jun 28 08:28:07 2017 (r320445) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706280828.v5S8S7eE096175>