mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 18:43:53 +08:00
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@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
e130a16e83
commit
ff07d436fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user