blob: ab807a5a3ab7c56151663dde4b054e193001c593 [file] [log] [blame]
if [ "$FS_SIZE"x = x ]; then
FS_SIZE=1024
fi
OUT1=$test_name.1.log
OUT2=$test_name.2.log
SKIP_GUNZIP=true
ONE_PASS_ONLY=true
MKE2FS_SKIP_PROGRESS=true
MKE2FS_SKIP_CHECK_MSG=true
export MKE2FS_SKIP_PROGRESS MKE2FS_SKIP_CHECK_MSG
> $TMPFILE
PREP_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'
AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs | tr -d \\015 >> $OUT1'
. $cmd_dir/run_e2fsck
unset FS_SIZE MKE2FS_OPTS MKE2FS_SKIP_PROGRESS