diff options
author | David Teigland <teigland@redhat.com> | 2019-09-27 12:40:42 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-09-27 12:40:42 -0500 |
commit | 9680fd6d78dc9aede50ed797317ec579e4969522 (patch) | |
tree | 63bc04139ab7c22125bb6256d806f95a1fb38a29 /test | |
parent | 0673d13518ac7d058ca70b04c29fd30f4fedeab6 (diff) | |
download | lvm2-9680fd6d78dc9aede50ed797317ec579e4969522.tar.gz |
tests: skip md tests if system not clean
Diffstat (limited to 'test')
-rw-r--r-- | test/shell/duplicate-pvs-md0.sh | 2 | ||||
-rw-r--r-- | test/shell/duplicate-pvs-md1.sh | 2 | ||||
-rw-r--r-- | test/shell/lvm-on-md.sh | 2 | ||||
-rw-r--r-- | test/shell/pvcreate-operation-md.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/shell/duplicate-pvs-md0.sh b/test/shell/duplicate-pvs-md0.sh index d64da4aff..d5164ce19 100644 --- a/test/shell/duplicate-pvs-md0.sh +++ b/test/shell/duplicate-pvs-md0.sh @@ -32,7 +32,7 @@ wipefs -V || skip test -f /proc/mdstat && grep -q raid0 /proc/mdstat || \ modprobe raid0 || skip -not grep md0 /proc/mdstat +not grep md0 /proc/mdstat || skip aux lvmconf 'devices/md_component_detection = 1' diff --git a/test/shell/duplicate-pvs-md1.sh b/test/shell/duplicate-pvs-md1.sh index d186c0f70..626c55cb7 100644 --- a/test/shell/duplicate-pvs-md1.sh +++ b/test/shell/duplicate-pvs-md1.sh @@ -37,7 +37,7 @@ wipefs -V || skip test -f /proc/mdstat && grep -q raid1 /proc/mdstat || \ modprobe raid1 || skip -not grep md0 /proc/mdstat +not grep md0 /proc/mdstat || skip aux lvmconf 'devices/md_component_detection = 1' diff --git a/test/shell/lvm-on-md.sh b/test/shell/lvm-on-md.sh index 7bcc276c1..a8df814a9 100644 --- a/test/shell/lvm-on-md.sh +++ b/test/shell/lvm-on-md.sh @@ -32,7 +32,7 @@ wipefs -V || skip test -f /proc/mdstat && grep -q raid1 /proc/mdstat || \ modprobe raid1 || skip -not grep md0 /proc/mdstat +not grep md0 /proc/mdstat || skip aux lvmconf 'devices/md_component_detection = 1' diff --git a/test/shell/pvcreate-operation-md.sh b/test/shell/pvcreate-operation-md.sh index 1774d235c..6e43e5f8b 100644 --- a/test/shell/pvcreate-operation-md.sh +++ b/test/shell/pvcreate-operation-md.sh @@ -22,7 +22,7 @@ wipefs -V || skip test -f /proc/mdstat && grep -q raid0 /proc/mdstat || \ modprobe raid0 || skip -not grep md0 /proc/mdstat +not grep md0 /proc/mdstat || skip aux lvmconf 'devices/md_component_detection = 1' aux extend_filter_md "a|/dev/md|" |