Skip to contentSkip to conversation

master - tests: thin lvol0 updates

PATCH Zdenek Kabelac 1 participant 1 message Jul 15, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=255db4c4e4d8e505bb5cf10892640cffd40ebed2
Commit:        255db4c4e4d8e505bb5cf10892640cffd40ebed2
Parent:        3498575b20c3dad46ba4e76fe8a9c3d95f75d1de
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jul 15 13:37:07 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 15 16:01:29 2013 +0200

tests: thin lvol0 updates

---
 test/shell/lvcreate-thin-snap.sh |    4 +-
 test/shell/lvcreate-thin.sh      |   64 +++++++++++++++++++-------------------
 2 files changed, 34 insertions(+), 34 deletions(-)
test/shell/lvcreate-thin-snap.sh +2 -2
index 6dd16d7..701bb08 100644
@@ -35,9 +35,9 @@ vgcreate $vg -s 64K $(cat DEVICES)
 lvcreate -L10M -V10M -T $vg/pool --name $lv1
 mkfs.ext4 $DM_DEV_DIR/$vg/$lv1
 # create thin snapshot of thin LV
-lvcreate -K -s $vg/$lv1
+lvcreate -K -s $vg/$lv1 --name snap
 # check snapshot filesystem was properly frozen before snapping
-fsck -p $DM_DEV_DIR/$vg/lvol0
+fsck -p $DM_DEV_DIR/$vg/snap
 lvcreate -K -s $vg/$lv1 --name $lv2
 lvcreate -K -s $vg/$lv1 --name $vg/$lv3
 lvcreate --type snapshot $vg/$lv1
test/shell/lvcreate-thin.sh +32 -32

107 lines not on this page · raw message