Lines Matching refs:test_name
3 echo "make the test image ..." > $test_name.log
4 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1
7 echo "mke2fs -O mmp failed" > $test_name.failed
8 echo "$test_name: $test_description: failed"
19 # this will cause debugfs to create the $test_name.mark file once it has
21 MARKFILE=$test_name.new
24 echo "set mmp sequence to EXT2_MMP_SEQ_FSCK..." >> $test_name.log
26 $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 & ) > /dev/null 2>&1 &
27 echo "wait until debugfs has started ..." >> $test_name.log
32 echo "kill debugfs abruptly (simulates e2fsck failure) ..." >> $test_name.log
35 $E2MMPSTATUS $TMPFILE > $test_name.log 2>&1
38 echo "$E2MMPSTATUS with EXT2_MMP_SEQ_FSCK passed!" > $test_name.failed
39 echo "$test_name: $test_description: failed"
43 echo "e2fsck (should fail mmp_seq = EXT2_MMP_SEQ_FSCK) ..." >> $test_name.log
44 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
47 echo "e2fsck with MMP as EXT2_MMP_SEQ_FSCK ran!" > $test_name.failed
48 echo "$test_name: $test_description: failed"
52 echo "clear mmp_seq with tune2fs ..." >> $test_name.log
53 $TUNE2FS -f -E clear_mmp $TMPFILE >> $test_name.log 2>&1
56 echo "tune2fs clearing EXT2_MMP_SEQ_FSCK failed" > $test_name.failed
57 echo "$test_name: $test_description: failed"
61 echo "run e2fsck again (should pass with clean mmp_seq) ..." >> $test_name.log
62 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1
65 echo "e2fsck after clearing EXT2_MMP_SEQ_FSCK failed"> $test_name.failed
66 echo "$test_name: $test_description: failed"
70 echo "$test_name: $test_description: ok"