Author: ngie
Date: Fri Jul 28 03:25:01 2017
New Revision: 321642
URL: https://svnweb.freebsd.org/changeset/base/321642

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

Modified:
  stable/11/tests/sys/vfs/trailing_slash.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/vfs/trailing_slash.sh
==============================================================================
--- stable/11/tests/sys/vfs/trailing_slash.sh   Fri Jul 28 03:24:57 2017        
(r321641)
+++ stable/11/tests/sys/vfs/trailing_slash.sh   Fri Jul 28 03:25:01 2017        
(r321642)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to