Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e130a16
)
tests: allow e2fsck tests to run on OS/X
author
Andreas Dilger
<adilger@whamcloud.com>
Tue, 12 Jun 2012 17:59:56 +0000
(13:59 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 12 Jun 2012 17:59:56 +0000
(13:59 -0400)
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>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/test_one.in
patch
|
blob
|
history
diff --git
a/tests/test_one.in
b/tests/test_one.in
index
238b4b7
..
d053fd7
100644
(file)
--- 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