summaryrefslogtreecommitdiffstats
path: root/tests/f_dup_de/script
blob: dcda9d805fbeb5e2d3035dc52c42830d2d2e77a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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