bug#36316: t6001-psep modification
"Slater, Joseph" <[email protected]> Thu, 20 Jun 2019 21:50:57 +0000
| Newsgroups | gmane.comp.gnu.parted.bugs |
|---|---|
| Message-ID | <[email protected]> |
Since I do not expect to ever submit another patch for parted, I decided to attach one here rather than join the maillist. Joe
0001-t6001-psep-modify-device-manage-support-detection.patch
(application/octet-stream, 888 B)
From d6ddde004c425932b7123a0836bfc694d321d06c Mon Sep 17 00:00:00 2001 From: Joe Slater <[email protected]> Date: Thu, 20 Jun 2019 14:33:04 -0700 Subject: [parted][PATCH 1/1] t6001-psep: modify device manage support detection Use the method other tests use -- test an environment variable. Signed-off-by: Joe Slater <[email protected]> --- tests/t6001-psep.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/t6001-psep.sh b/tests/t6001-psep.sh index 2985cf5..bd1e3a3 100644 --- a/tests/t6001-psep.sh +++ b/tests/t6001-psep.sh @@ -21,7 +21,8 @@ require_root_ require_udevadm_settle_ -(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed" +test "x$ENABLE_DEVICE_MAPPER" = xyes \ + || skip_ "no device-mapper support" # Device maps names - should be random to not conflict with existing ones on # the system -- 2.7.4