]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
tests: use the in-tree binaries in the test f_extent_oobounds test_maint
authorTheodore Ts'o <tytso@mit.edu>
Wed, 25 Dec 2013 03:44:14 +0000 (22:44 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 25 Dec 2013 03:50:23 +0000 (22:50 -0500)
Fix the f_extent_oobounds test so that it uses binaries built in the
tree, instead of the binaries in the system PATH (which might not
exist in a chroot environment) when creating the test image.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/f_extent_oobounds/script

index 31ac6c926d07e31ff712a2d29e4349806d3e3443..b00b031a3f6194adc6566b6c488049ec2aa833ba 100644 (file)
@@ -4,8 +4,8 @@ SKIP_GUNZIP="true"
 TEST_DATA="$test_name.tmp"
 
 dd if=/dev/zero of=$TMPFILE bs=1k count=256 > /dev/null 2>&1
-mke2fs -Ft ext4 $TMPFILE > /dev/null 2>&1
-debugfs -w $TMPFILE << EOF  > /dev/null 2>&1
+$MKE2FS -Ft ext4 $TMPFILE > /dev/null 2>&1
+$DEBUGFS -w $TMPFILE << EOF  > /dev/null 2>&1
 write /dev/null testfile
 extent_open testfile
   insert_node 0 15 100