]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
tests/f_opt_extent: use tune2fs from the build tree in the test script master
authorTheodore Ts'o <tytso@mit.edu>
Fri, 3 Apr 2026 15:20:06 +0000 (11:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Apr 2026 15:20:06 +0000 (11:20 -0400)
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 <tytso@mit.edu>
tests/f_opt_extent/script

index 670bdb9ebe5ad3a1929b3055249af97f5972bf1b..cb94f221af1705db26bde97c955ea56d27caf512 100644 (file)
@@ -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