diff options
Diffstat (limited to 'tests/f_dup_de/script')
-rw-r--r-- | tests/f_dup_de/script | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/f_dup_de/script b/tests/f_dup_de/script new file mode 100644 index 0000000..dcda9d8 --- /dev/null +++ b/tests/f_dup_de/script @@ -0,0 +1,15 @@ +if ! test -x $DEBUGFS_EXE; then + echo "$test_name: $test_description: skipped (no debugfs)" + return 0 +fi + +if test "$HTREE"x = x ; then + gunzip < $test_dir/image.gz > $TMPFILE + $DEBUGFS -w -R "feature ^dir_index" $TMPFILE >/dev/null 2>&1 + gzip $TMPFILE + IMAGE="$TMPFILE".gz + EXP1=$test_dir/expect-nohtree.1 + EXP2=$test_dir/expect-nohtree.2 +fi +. $cmd_dir/run_e2fsck +rm -f "$TMPFILE".gz |