Skip to contentSkip to conversation

master - tests: use old snapshot for huge volumes

PATCH Zdenek Kabelac 1 participant 1 message Jul 7, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=bfd0689d6413437c6d3fb8a8461a22ff0f1b5dc9
Commit:        bfd0689d6413437c6d3fb8a8461a22ff0f1b5dc9
Parent:        0ac20a8fdb971c542790b8f50b32ee071b69f130
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Jul 4 11:41:04 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Jul 7 09:57:32 2015 +0200

tests: use old snapshot for huge volumes

Avoid stacking thins over thins.

---
 test/shell/lvconvert-thin.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvconvert-thin.sh +1 -1
index 8270c0e..b4b3a72 100644
@@ -36,7 +36,7 @@ vgcreate $vg1 $(head -n 3 DEVICES)
 # maybe  uname -m    [ x86_64 | i686 ]
 TSIZE=64T
 aux can_use_16T || TSIZE=15T
-lvcreate -s -l 100%FREE -n $lv $vg1 --virtualsize $TSIZE
+lvcreate --type snapshot -l 100%FREE -n $lv $vg1 --virtualsize $TSIZE
 aux extend_filter_LVMTEST
 
 pvcreate "$DM_DEV_DIR/$vg1/$lv"