tests/f_dup_de/script
raw| 1 | if ! test -x $DEBUGFS_EXE; then |
| 2 | echo "$test_name: $test_description: skipped (no debugfs)" |
| 3 | return 0 |
| 4 | fi |
| 5 | |
| 6 | if test "$HTREE"x = x ; then |
| 7 | gunzip < $test_dir/image.gz > $TMPFILE |
| 8 | $DEBUGFS -w -R "feature ^dir_index" $TMPFILE >/dev/null 2>&1 |
| 9 | gzip $TMPFILE |
| 10 | IMAGE="$TMPFILE".gz |
| 11 | EXP1=$test_dir/expect-nohtree.1 |
| 12 | EXP2=$test_dir/expect-nohtree.2 |
| 13 | fi |
| 14 | . $cmd_dir/run_e2fsck |
| 15 | rm -f "$TMPFILE".gz |