Skip to contentSkip to conversation

master - tests: also add thick snap of thin volume

PATCH Zdenek Kabelac 1 participant 1 message Sep 25, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a89ac3bf6f84be5a021691d02bad3ac5e315da78
Commit:        a89ac3bf6f84be5a021691d02bad3ac5e315da78
Parent:        ccb58c109ffab7a073e1630e48babf5eae052ee8
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Sep 24 20:49:52 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Sep 25 22:59:35 2020 +0200

tests: also add thick snap of thin volume

---
 test/shell/vgsplit-thin.sh | 1 +
 1 file changed, 1 insertion(+)
test/shell/vgsplit-thin.sh +1 -0
index a2d0a0b7f..abe9f552f 100644
@@ -27,6 +27,7 @@ get_devs
 vgcreate "$vg1" "${DEVICES[@]}"
 lvcreate -T -L8M $vg1/pool1 -V10M -n $lv1 "$dev1" "$dev2"
 lvcreate -T -L8M $vg1/pool2 -V10M -n $lv2 "$dev3" "$dev4"
+lvcreate -s -L2M -n snap $vg1/$lv1 "$dev2"
 
 # Test with external origin if available
 lvcreate -l1 -an -pr --zero n -n eorigin $vg1 "$dev5"