[lvm-devel] master - tests: deactivate repaired before swap

Zdenek Kabelac zkabelac at fedoraproject.org
Mon Nov 17 07:45:23 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=542b03ee007d50cd8aa6dbd582b79369a38919b0
Commit:        542b03ee007d50cd8aa6dbd582b79369a38919b0
Parent:        740fcdae7d44ae2398ea427f91fc87195e449d42
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Mon Nov 17 08:44:53 2014 +0100
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Mon Nov 17 08:44:53 2014 +0100

tests: deactivate repaired before swap

---
 test/shell/lvconvert-repair-thin.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/shell/lvconvert-repair-thin.sh b/test/shell/lvconvert-repair-thin.sh
index 4732efc..8e35ad1 100644
--- a/test/shell/lvconvert-repair-thin.sh
+++ b/test/shell/lvconvert-repair-thin.sh
@@ -70,6 +70,8 @@ not "$LVM_TEST_THIN_DUMP_CMD" "$DM_DEV_DIR/$vg/repair" | tee dump
 
 "$LVM_TEST_THIN_CHECK_CMD" "$DM_DEV_DIR/$vg/fixed"
 
+lvchange -an $vg
+
 # Swap repaired metadata back
 lvconvert -y -f --poolmetadata $vg/fixed --thinpool $vg/pool
 




More information about the lvm-devel mailing list