* [PATCH] tests: allow e2fsck tests to run on OS/X
@ 2012-06-11 7:49 Andreas Dilger
0 siblings, 0 replies; only message in thread
From: Andreas Dilger @ 2012-06-11 7:49 UTC (permalink / raw)
To: tytso, linux-ext4; +Cc: Andreas Dilger
The "mktemp" program requires a template on OS/X. Allow the test
TMPFILE to be created in the local /tmp directory for both OS/X
and Linux.
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
---
tests/test_one.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/test_one.in b/tests/test_one.in
index 238b4b7..d053fd7 100644
--- a/tests/test_one.in
+++ b/tests/test_one.in
@@ -28,7 +28,7 @@ fi
. $TEST_CONFIG
-TMPFILE=$(mktemp)
+TMPFILE=$(mktemp -t e2fsprogs-tmp.XXXXXX)
test_name=`echo $test_dir | sed -e 's;.*/;;'`
if [ -f $test_dir ] ; then
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-11 7:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 7:49 [PATCH] tests: allow e2fsck tests to run on OS/X Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).