Skip to contentSkip to conversation

master - tests: check new snapshot skills

PATCH Zdenek Kabelac 1 participant 1 message Jun 17, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=378fa9d1585941a8492830d866377e5f29dff29c
Commit:        378fa9d1585941a8492830d866377e5f29dff29c
Parent:        8403bbd4adabb6718f45f67e5a4a98f6de26dbb6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Jun 17 13:35:40 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Jun 17 13:43:05 2014 +0200

tests: check new snapshot skills

---
 test/shell/snapshot-merge.sh |    2 +-
 test/shell/snapshot-usage.sh |   42 ++++++++++++++++++++++++++++++++++++++----
 2 files changed, 39 insertions(+), 5 deletions(-)
test/shell/snapshot-merge.sh +1 -1
index bebc9de..0117cdc 100644
@@ -33,7 +33,7 @@ setup_merge_() {
 
     if [ $NUM_EXTRA_SNAPS -gt 0 ]; then
 	for i in $(seq 1 $NUM_EXTRA_SNAPS); do
-	    lvcreate -s -n ${BASE_SNAP_LV_NAME}_${i} -l 20%FREE ${VG_NAME}/${LV_NAME}
+	    lvcreate -s -n ${BASE_SNAP_LV_NAME}_${i} -l 20%ORIGIN ${VG_NAME}/${LV_NAME}
 	done
     fi
 }
test/shell/snapshot-usage.sh +38 -4

66 lines not on this page · raw message