]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - tests/t_mmp_1on/script
libext2fs: don't use O_DIRECT for files on tmpfs
[thirdparty/e2fsprogs.git] / tests / t_mmp_1on / script
index d15b1e33bb8d13cd201db2b51400ece45da39dc9..733395ef3b20011fed89974457eb9aa28ce26f07 100644 (file)
@@ -1,16 +1,5 @@
 FSCK_OPT=-yf
 
-[ -f "$TMPFILE" ] && rm -f $TMPFILE
-TMPFILE=$test_name.tmp
-> $TMPFILE
-
-stat -f $TMPFILE | grep -q "Type: tmpfs"
-if [ $? = 0 ] ; then
-       rm -f $TMPFILE
-       echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)"
-       return 0
-fi
-
 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 100 > $test_name.log 2>&1
 status=$?
 if [ "$status" != 0 ] ; then