6 stat -f $TMPFILE | grep -q "Type: tmpfs"
9 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)"
13 $MKE2FS -q -F -o Linux -b 4096 -O mmp $TMPFILE 100 > $test_name.log 2>&1
15 if [ "$status" != 0 ] ; then
16 echo "mke2fs -O mmp failed" > $test_name.failed
17 echo "$test_name: $test_description: failed"
21 $TUNE2FS -O ^mmp $TMPFILE > $test_name.log 2>&1
23 if [ "$status" != 0 ] ; then
24 echo "tune2fs -O ^mmp failed" > $test_name.failed
25 echo "$test_name: $test_description: failed"
29 $FSCK $FSCK_OPT $TMPFILE > $test_name.log 2>&1
31 if [ "$status" = 0 ] ; then
32 echo "$test_name: $test_description: ok"
35 echo "e2fsck after MMP disable failed" > $test_name.failed
36 echo "$test_name: $test_description: failed"