summaryrefslogtreecommitdiff
path: root/tests/misc-tests/004-shrink-fs/test.sh
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/misc-tests/004-shrink-fs/test.sh
parent4b9d4fe00f7b12d904e35b7e734c68471d549c55 (diff)
btrfs-progs: tests: add missing prerequisites
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/misc-tests/004-shrink-fs/test.sh')
-rwxr-xr-xtests/misc-tests/004-shrink-fs/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc-tests/004-shrink-fs/test.sh b/tests/misc-tests/004-shrink-fs/test.sh
index b1321520..88740358 100755
--- a/tests/misc-tests/004-shrink-fs/test.sh
+++ b/tests/misc-tests/004-shrink-fs/test.sh
@@ -7,6 +7,8 @@
source $TOP/tests/common
check_prereq mkfs.btrfs
+check_prereq btrfs
+
setup_root_helper
# Optionally take id of the device to shrink