[lvm-devel] master - tests: use exclusive activation

Zdenek Kabelac zkabelac at fedoraproject.org
Tue Jul 22 21:44:14 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3a8bb8d3a4ef379298e97ca5f087a1c8908841ed
Commit:        3a8bb8d3a4ef379298e97ca5f087a1c8908841ed
Parent:        ab1887fe4719a296c2bd4b4778348f55f1b7a49a
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Tue Jul 22 23:43:26 2014 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Tue Jul 22 23:44:06 2014 +0200

tests: use exclusive activation

---
 test/shell/lvconvert-raid-allocation.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/shell/lvconvert-raid-allocation.sh b/test/shell/lvconvert-raid-allocation.sh
index aef786c..bd2cab5 100644
--- a/test/shell/lvconvert-raid-allocation.sh
+++ b/test/shell/lvconvert-raid-allocation.sh
@@ -18,7 +18,7 @@ vgcreate -s 256k $vg $(cat DEVICES)
 
 # Start with linear on 2 PV and ensure that converting to
 # RAID is not allowed to reuse PVs for different images.  (Bug 1113180)
-lvcreate -l 4 -n $lv1 $vg "$dev1:0-1" "$dev2:0-1"
+lvcreate -aey -l 4 -n $lv1 $vg "$dev1:0-1" "$dev2:0-1"
 not lvconvert --type raid1 -m 1 $vg/$lv1 "$dev1" "$dev2"
 not lvconvert --type raid1 -m 1 $vg/$lv1 "$dev1" "$dev3:0-2"
 lvconvert --type raid1 -m 1 $vg/$lv1 "$dev3"




More information about the lvm-devel mailing list