1if test -x $DEBUGFS_EXE; then 2 3if [ "$FS_SIZE"x = x ]; then 4 FS_SIZE=1024 5fi 6OUT1=$test_name.1.log 7OUT2=$test_name.2.log 8SKIP_GUNZIP=true 9ONE_PASS_ONLY=true 10MKE2FS_SKIP_PROGRESS=true 11MKE2FS_SKIP_CHECK_MSG=true 12export MKE2FS_SKIP_PROGRESS MKE2FS_SKIP_CHECK_MSG 13> $TMPFILE 14PREP_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' 18AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed >> $OUT1' 19. $cmd_dir/run_e2fsck 20 21else #if test -x $DEBUGFS_EXE; then 22 rm -f $test_name.ok $test_name.failed 23 echo "skipped" 24fi 25 26unset DESCRIPTION FS_SIZE MKE2FS_OPTS MKE2FS_SKIP_PROGRESS \ 27 MKE2FS_DEVICE_SECTSIZE 28