1 if ! test -x $DEBUGFS_EXE; then
2 echo "$test_name: $test_description: skipped (no debugfs)"
6 IMAGE=$test_dir/image.gz
9 gunzip < $IMAGE > $TMPFILE
11 $DUMPE2FS $TMPFILE >> $OUT.new 2>&1
12 sed -f $cmd_dir/filter.sed $OUT.new > $OUT
13 rm -f $TMPFILE $OUT.new
18 if [ "$status" = 0 ] ; then
19 echo "$test_name: $test_description: ok"
22 echo "$test_name: $test_description: failed"
23 diff $DIFF_OPTS $EXP $OUT > $test_name.failed