[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1339400960-26140-1-git-send-email-adilger@whamcloud.com>
Date: Mon, 11 Jun 2012 01:49:20 -0600
From: Andreas Dilger <adilger@...mcloud.com>
To: tytso@....edu, linux-ext4@...r.kernel.org
Cc: Andreas Dilger <adilger@...mcloud.com>
Subject: [PATCH] tests: allow e2fsck tests to run on OS/X
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@...mcloud.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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists