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:
parent
0673d13518
commit
9680fd6d78
@ -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'
|
||||
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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|"
|
||||
|
Loading…
Reference in New Issue
Block a user