Home | History | Annotate | Download | only in tests
      1 if test -x $DEBUGFS_EXE; then
      2 
      3 if [ "$FS_SIZE"x = x ]; then
      4 	FS_SIZE=1024
      5 fi
      6 OUT1=$test_name.1.log
      7 OUT2=$test_name.2.log
      8 SKIP_GUNZIP=true
      9 ONE_PASS_ONLY=true
     10 MKE2FS_SKIP_PROGRESS=true
     11 MKE2FS_SKIP_CHECK_MSG=true
     12 export MKE2FS_SKIP_PROGRESS MKE2FS_SKIP_CHECK_MSG
     13 > $TMPFILE
     14 PREP_CMD='$MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 |
     15 	sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" > $OUT1;
     16 	$DEBUGFS -R features $TMPFILE 2>&1 |
     17 	sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT1'
     18 AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed >> $OUT1'
     19 . $cmd_dir/run_e2fsck
     20 
     21 else #if test -x $DEBUGFS_EXE; then
     22 	rm -f $test_name.ok $test_name.failed
     23 	echo "skipped"
     24 fi 
     25 
     26 unset DESCRIPTION FS_SIZE MKE2FS_OPTS MKE2FS_SKIP_PROGRESS \
     27 	MKE2FS_DEVICE_SECTSIZE
     28