Skip to contentSkip to conversation

master - tests: update vg-check-devs-used.sh

PATCH Peter Rajnoha 1 participant 1 message Mar 22, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3d26d283ea7234ee3e4499b53f185696e0c5e15c
Commit:        3d26d283ea7234ee3e4499b53f185696e0c5e15c
Parent:        6a915270fc7837d18c2e6daf55d75c3763bc2866
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Tue Mar 22 11:18:16 2016 +0100
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Tue Mar 22 11:18:22 2016 +0100

tests: update vg-check-devs-used.sh

Snapshot needs to be activated exclusively in cluster...

---
 test/shell/vg-check-devs-used.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/shell/vg-check-devs-used.sh +2 -2
index 09109e5..c978b9e 100644
@@ -26,8 +26,8 @@ lvremove -ff $vg
 
 # Also test if sub LVs with suffixes are correctly processed.
 # Check with thick snapshot which has sub LVs with -real and -cow suffix in UUID.
-lvcreate -l1 -n $lv $vg
-lvcreate -l1 -s $vg/$lv
+lvcreate -l1 -aey -n $lv $vg
+lvcreate -l1 -aey -s $vg/$lv
 pvs 2>err
 not grep "WARNING: Device mismatch detected for $vg/$lv" err