From db04d3e6d29dde331a88eec2cec5249ee7c211f0 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 24 Mar 2014 09:58:29 +0100 Subject: [PATCH] tests: relocate vgimport test It seem like a better-fit here. --- test/shell/covercmd.sh | 7 ------- test/shell/vgimportclone.sh | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/test/shell/covercmd.sh b/test/shell/covercmd.sh index ffa48f02a..f1bdca9c5 100644 --- a/test/shell/covercmd.sh +++ b/test/shell/covercmd.sh @@ -64,13 +64,6 @@ for i in h b s k m g t p e H B S K M G T P E; do done fi - -# test vgexport vgimport tools -vgchange -an $vg -vgexport $vg -vgimport $vg -vgchange -ay $vg - # "-persistent y --major 254 --minor 20" # "-persistent n" # test various lvm utils diff --git a/test/shell/vgimportclone.sh b/test/shell/vgimportclone.sh index f2977c9d6..923638e26 100644 --- a/test/shell/vgimportclone.sh +++ b/test/shell/vgimportclone.sh @@ -16,6 +16,12 @@ aux prepare_devs 2 vgcreate --metadatasize 128k $vg1 "$dev1" lvcreate -l100%FREE -n $lv1 $vg1 +# Test plain vgexport vgimport tools +vgchange -an $vg1 +vgexport $vg1 +vgimport $vg1 +vgchange -ay $vg1 + # Clone the LUN dd if="$dev1" of="$dev2" bs=256K count=1 aux notify_lvmetad "$dev2"