diff options
author | WorMzy Tykashi <wormzy.tykashi@gmail.com> | 2015-04-08 15:50:04 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-04-09 18:45:00 +0200 |
commit | c5b2f66d634741ec04c028106bce647701cb8944 (patch) | |
tree | 83094fc16e6da5d75035268ba925d270e86726af /tests/fsck-tests | |
parent | 08f9acadab168a2f337542dcceaa3c5e748c1e83 (diff) |
btrfs-progs: use local btrfs-image in leaf corruption test
Currently this test uses the system btrfs-image. If there isn't a
btrfs-image on $PATH, the test fails. The test should be using the
locally compiled btrfs-image, not the system one.
Signed-off-by: WorMzy Tykashi <wormzy.tykashi@gmail.com>
Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'tests/fsck-tests')
-rwxr-xr-x | tests/fsck-tests/012-leaf-corruption/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fsck-tests/012-leaf-corruption/test.sh b/tests/fsck-tests/012-leaf-corruption/test.sh index 4db47101..98e31856 100755 --- a/tests/fsck-tests/012-leaf-corruption/test.sh +++ b/tests/fsck-tests/012-leaf-corruption/test.sh @@ -37,7 +37,7 @@ generate_leaf_corrupt_no_data_ext() echo "generating leaf_corrupt_no_data_ext.btrfs-image" >> $RESULTS tar xJf ./no_data_extent.tar.xz || \ _fail "failed to extract leaf_corrupt_no_data_ext.btrfs-image" - btrfs-image -r test.img.btrfs-image $dest || \ + $TOP/btrfs-image -r test.img.btrfs-image $dest || \ _fail "failed to extract leaf_corrupt_no_data_ext.btrfs-image" # leaf at 20832256 contains no regular data extent, clear its csum to |