svn commit: r291289 - user/ngie/more-tests2/sbin/geom/class/tests

Garrett Cooper ngie at FreeBSD.org
Wed Nov 25 04:12:10 UTC 2015


Author: ngie
Date: Wed Nov 25 04:12:08 2015
New Revision: 291289
URL: https://svnweb.freebsd.org/changeset/base/291289

Log:
  Make sure TMPDIR is exported so /tmp is guaranteed to be defined for mktemp

Modified:
  user/ngie/more-tests2/sbin/geom/class/tests/geom_subr.sh

Modified: user/ngie/more-tests2/sbin/geom/class/tests/geom_subr.sh
==============================================================================
--- user/ngie/more-tests2/sbin/geom/class/tests/geom_subr.sh	Wed Nov 25 04:11:25 2015	(r291288)
+++ user/ngie/more-tests2/sbin/geom/class/tests/geom_subr.sh	Wed Nov 25 04:12:08 2015	(r291289)
@@ -22,6 +22,7 @@ devwait()
 # failing will cause the other tests to bomb out, or a test failing will leave
 # a large number of md(4) devices lingering around
 : ${TMPDIR=/tmp}
+export TMPDIR
 TEST_MDS_FILE=${TMPDIR}/test_mds
 
 attach_md()


More information about the svn-src-user mailing list