From: Theodore Ts'o Date: Fri, 3 Apr 2026 15:20:06 +0000 (-0400) Subject: tests/f_opt_extent: use tune2fs from the build tree in the test script X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fe2fsprogs.git tests/f_opt_extent: use tune2fs from the build tree in the test script There may not be tune2fs installed as a system binary, so use the tune2fs from the build tree to provide hermetic testing. Signed-off-by: Theodore Ts'o --- diff --git a/tests/f_opt_extent/script b/tests/f_opt_extent/script index 670bdb9eb..cb94f221a 100644 --- a/tests/f_opt_extent/script +++ b/tests/f_opt_extent/script @@ -23,7 +23,7 @@ echo "tune2fs metadata_csum test" > $OUT MKE2FS_CONFIG=$CONF $MKE2FS -F -T ext4h -o Linux $TMPFILE 524288 >> $OUT 2>&1 rm -f $CONF -tune2fs -O dir_index $TMPFILE >> $OUT 2>&1 +$TUNE2FS -O dir_index $TMPFILE >> $OUT 2>&1 # dump and check $DUMPE2FS $TMPFILE 2> /dev/null | grep '^Group 0:' -B99 -A20 | sed -f $cmd_dir/filter.sed > $OUT.before