• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if [ "$FS_SIZE"x = x ]; then
2	FS_SIZE=1024
3fi
4OUT1=$test_name.1.log
5OUT2=$test_name.2.log
6SKIP_GUNZIP=true
7ONE_PASS_ONLY=true
8MKE2FS_SKIP_PROGRESS=true
9MKE2FS_SKIP_CHECK_MSG=true
10export MKE2FS_SKIP_PROGRESS MKE2FS_SKIP_CHECK_MSG
11> $TMPFILE
12PREP_CMD='$MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 | sed -e 1d | tr -d \\015 > $OUT1 ; $DEBUGFS -R features $TMPFILE 2>&1 | sed -e 1d | tr -d \\015 >> $OUT1 ; echo " " >> $OUT1'
13AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs | tr -d \\015 >> $OUT1'
14. $cmd_dir/run_e2fsck
15unset FS_SIZE MKE2FS_OPTS MKE2FS_SKIP_PROGRESS
16