summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/012-leaf-corruption
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-01-12 15:16:11 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-12 15:16:11 +0100
commitac45d64c041b763221d0fb4cd41a0e207c688c14 (patch)
treeaca000f70a6b54a1ffd640618729d11d3e44d6ff /tests/fsck-tests/012-leaf-corruption
parent4b9d4fe00f7b12d904e35b7e734c68471d549c55 (diff)
btrfs-progs: tests: add missing prerequisites
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/fsck-tests/012-leaf-corruption')
-rwxr-xr-xtests/fsck-tests/012-leaf-corruption/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fsck-tests/012-leaf-corruption/test.sh b/tests/fsck-tests/012-leaf-corruption/test.sh
index 830fd8d5..a308727d 100755
--- a/tests/fsck-tests/012-leaf-corruption/test.sh
+++ b/tests/fsck-tests/012-leaf-corruption/test.sh
@@ -2,6 +2,8 @@
source $TOP/tests/common
+check_prereq btrfs-image
+
# Check file list for leaf corruption, no regular/preallocated
# file extent case.
# Corrupted leaf is 20832256, which contains inode 1862~1872