6 stat -f $TMPFILE | grep -q "Type: tmpfs"
9 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)"
13 echo "make the test image ..." > $test_name.log
14 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1
16 if [ "$status" != 0 ] ; then
17 echo "mke2fs -O mmp failed" > $test_name.failed
18 echo "$test_name: $test_description: failed"
22 # create a corrupted image
23 echo "modify the mmp sequence ..." >> $test_name.log
24 $DEBUGFS -w -R "set_mmp_value magic 0x12345678" $TMPFILE >> $test_name.log 2>&1