btrfs-progs: add prerequisite mkfs.btrfs for test-cli
authorGu Jinxiang <gujx@cn.fujitsu.com>
Thu, 8 Feb 2018 05:08:56 +0000 (13:08 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 13 Feb 2018 14:41:32 +0000 (15:41 +0100)
Since tests/cli-tests/002-balance-full-no-filters/test.sh need
the mkfs.btrfs for prerequisite.
So add the dependency in Makefile.

Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile

index 327cdfa..e2e9a46 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -315,7 +315,7 @@ test-fuzz: btrfs
        @echo "    [TEST]   fuzz-tests.sh"
        $(Q)bash tests/fuzz-tests.sh
 
-test-cli: btrfs
+test-cli: btrfs mkfs.btrfs
        @echo "    [TEST]   cli-tests.sh"
        $(Q)bash tests/cli-tests.sh