1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: skip md tests if system not clean

This commit is contained in:
David Teigland 2019-09-27 12:40:42 -05:00
parent 0673d13518
commit 9680fd6d78
4 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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|"