Skip to contentSkip to conversation

master - tests: add raid target presence check

PATCH Zdenek Kabelac 1 participant 1 message Oct 16, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=32f1afbe36f6cc804a8f4e669af7c90639389811
Commit:        32f1afbe36f6cc804a8f4e669af7c90639389811
Parent:        69bebfd9587e2db292051501d1a1e83d4f4564a5
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Oct 16 23:44:15 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Oct 16 23:49:35 2018 +0200

tests: add raid target presence check

---
 test/shell/lvcreate-raid1-read-error.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
test/shell/lvcreate-raid1-read-error.sh +2 -0
index 6907758..322c60e 100644
@@ -14,6 +14,8 @@ SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
 
+aux have_raid 1 3 0 || skip
+
 # Test for MD raid1 kernel bug causing read
 # errors on failing first leg sectors.