Skip to contentSkip to conversation

master - tests: skip when raid is not present

PATCH Zdenek Kabelac 1 participant 1 message Oct 17, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f07e5c1fe43524ec6f9da6afaf95c5b328972703
Commit:        f07e5c1fe43524ec6f9da6afaf95c5b328972703
Parent:        ec85dfe0f8096ee486c39c22b740f3938932707e
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Oct 16 21:58:39 2019 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Oct 17 13:03:50 2019 +0200

tests: skip when raid is not present

---
 test/shell/lvextend-raid.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
test/shell/lvextend-raid.sh +1 -0
index 8988411..1c0e9c6 100644
@@ -15,6 +15,7 @@ SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
 
+aux have_raid 1 3 0 || skip
 v1_15_0=0
 aux have_raid 1 15 0 && v1_15_0=1