Skip to contentSkip to conversation

LVM2/test/shell lvconvert-repair-snapshot.sh s ...

PATCH [email protected] 1 participant 1 message May 17, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2012-05-17 08:04:11

Modified files:
test/shell : lvconvert-repair-snapshot.sh
snapshots-of-mirrors.sh

Log message:
Re-enable tests for snapshots of mirrors.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/shell/lvconvert-repair-snapshot.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/shell/snapshots-of-mirrors.sh.diff?cvsroot=lvm2&r1=1.4&r2=1.5

test/shell/lvconvert-repair-snapshot.sh +0 -7
@@ -11,13 +11,6 @@
 
 . lib/test
 
-exit 0
-#
-# Snapshots of 'mirrors' are not supported.  They can no longer be created.
-# This file could be used to test some aspect of lvconvert, snapshot, and
-# RAID at some point though...
-#
-
 aux prepare_vg 5
 aux lvmconf 'allocation/maximise_cling = 0'
 aux lvmconf 'allocation/mirror_logs_require_separate_pvs = 1'
test/shell/snapshots-of-mirrors.sh +0 -6
@@ -18,12 +18,6 @@
 
 lvcreate -s $vg/lv -L 10M -n snap
 
-exit 0
-
-#
-# Snapshots of mirrors are no longer allowed.
-#
-
 # Down-convert (mirror -> linear) under a snapshot
 lvconvert -m0 $vg/lv