blob: 5f3c4ddae8b5f21624b7a4a5c7010b9e76b9f9c5 [file] [log] [blame]
Brad Bishopf3fd2882019-06-21 08:06:37 -04001parted: change check for device-manager
2
3Other ptests use this method.
4
5Upstream-Status: Submitted [bug-parted@gnu.org]
6
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9
10--- a/tests/t6001-psep.sh
11+++ b/tests/t6001-psep.sh
12@@ -19,7 +19,9 @@
13 . "${srcdir=.}/init.sh"; path_prepend_ ../parted
14
15 require_root_
16-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
17+
18+test "x$ENABLE_DEVICE_MAPPER" = xyes \
19+ || skip_ "no device-mapper support"
20
21 # Device maps names - should be random to not conflict with existing ones on
22 # the system