btrfs-progs: mkfs-tests/005: check global prereq for dmsetup
diff mbox series

Message ID 20191023092634.20310-1-Damenly_Su@gmx.com
State New
Headers show
Series
  • btrfs-progs: mkfs-tests/005: check global prereq for dmsetup
Related show

Commit Message

Damenly Su Oct. 23, 2019, 9:26 a.m. UTC
From: Su Yue <Damenly_Su@gmx.com>

This test uses tool dmsetup so add the global prereq.

Link: https://github.com/kdave/btrfs-progs/issues/192
Signed-off-by: Su Yue <Damenly_Su@gmx.com>
---
 tests/mkfs-tests/005-long-device-name-for-ssd/test.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

David Sterba Oct. 23, 2019, 12:14 p.m. UTC | #1
On Wed, Oct 23, 2019 at 05:26:34PM +0800, damenly.su@gmail.com wrote:
> From: Su Yue <Damenly_Su@gmx.com>
> 
> This test uses tool dmsetup so add the global prereq.
> 
> Link: https://github.com/kdave/btrfs-progs/issues/192
> Signed-off-by: Su Yue <Damenly_Su@gmx.com>

Applied, thanks.

Patch
diff mbox series

diff --git a/tests/mkfs-tests/005-long-device-name-for-ssd/test.sh b/tests/mkfs-tests/005-long-device-name-for-ssd/test.sh
index b7c76b1814a5..e7a1ac45267a 100755
--- a/tests/mkfs-tests/005-long-device-name-for-ssd/test.sh
+++ b/tests/mkfs-tests/005-long-device-name-for-ssd/test.sh
@@ -4,6 +4,7 @@ 
 source "$TEST_TOP/common"
 
 check_prereq mkfs.btrfs
+check_global_prereq dmsetup
 
 setup_root_helper
 prepare_test_dev