Skip to contentSkip to conversation

master - test: Cope with stripe rounding message change.

PATCH Alasdair Kergon 1 participant 1 message Sep 28, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7097663dddad0716059783219e9e3d4748db8188
Commit:        7097663dddad0716059783219e9e3d4748db8188
Parent:        eab099b22190cfaf68f013e785dd13c43277fea1
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Mon Sep 28 12:25:31 2015 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Mon Sep 28 12:25:31 2015 +0100

test: Cope with stripe rounding message change.

---
 test/shell/lvcreate-striped-mirror.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
test/shell/lvcreate-striped-mirror.sh +3 -3
index 735b396..776dbf7 100644
@@ -46,12 +46,12 @@ check mirror_images_redundant $vg $lv7
 lvremove -ff $vg
 
 lvcreate -aey --nosync -i3 -l4 --type mirror -m1 --mirrorlog core -n $lv1 $vg 2>&1 | tee log
-grep "Rounding size (4 extents) up to .* (6 extents)" log
+grep "Rounding size .*(4 extents) up to .*(6 extents)" log
 
 lvcreate -aey --nosync -i3 -l4 --type mirror -m2 --mirrorlog core -n $lv2 $vg 2>&1 | tee log
-grep "Rounding size (4 extents) up to .* (6 extents)" log
+grep "Rounding size .*(4 extents) up to .*(6 extents)" log
 
 lvcreate -aey --nosync -i3 -l2 --type mirror -m2 --mirrorlog core -n $lv3 $vg 2>&1 | tee log
-grep "Rounding size (2 extents) up to .* (3 extents)" log
+grep "Rounding size .*(2 extents) up to .*(3 extents)" log
 
 lvremove -ff $vg