Skip to contentSkip to conversation

master - lvconvert-raid-takeover.sh: fix test

PATCH Heinz Mauelshagen 1 participant 1 message Oct 27, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=61ae07966dfa68e7a03c054b1486136028c5c4a6
Commit:        61ae07966dfa68e7a03c054b1486136028c5c4a6
Parent:        ff05ed7afd16048b64ee3bd94476b1d19e5022db
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Thu Oct 27 16:38:15 2016 +0200
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Thu Oct 27 16:38:15 2016 +0200

lvconvert-raid-takeover.sh: fix test

---
 test/shell/lvconvert-raid-takeover.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
test/shell/lvconvert-raid-takeover.sh +2 -1
index 332786d..c1cb1aa 100644
@@ -16,7 +16,8 @@ SKIP_WITH_LVMPOLLD=1
 
 aux have_raid 1 9 0 || skip
 
-[ `aux have_raid 1.9.1` ] && correct_raid4_layout=1
+correct_raid4_layout=0
+aux have_raid 1 9 1 && correct_raid4_layout=1
 
 aux prepare_vg 9 288