Date: Fri, 28 Jul 2017 03:24:57 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r321641 - stable/10/tests/sys/vfs Message-ID: <201707280324.v6S3OvRD037827@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Jul 28 03:24:57 2017 New Revision: 321641 URL: https://svnweb.freebsd.org/changeset/base/321641 Log: MFC r320445: Don't hardcode path to file in /tmp; this violates the kyua sandbox Modified: stable/10/tests/sys/vfs/trailing_slash.sh Directory Properties: stable/10/ (props changed) Modified: stable/10/tests/sys/vfs/trailing_slash.sh ============================================================================== --- stable/10/tests/sys/vfs/trailing_slash.sh Fri Jul 28 03:18:18 2017 (r321640) +++ stable/10/tests/sys/vfs/trailing_slash.sh Fri Jul 28 03:24:57 2017 (r321641) @@ -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?201707280324.v6S3OvRD037827>