1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

tests: simplify

This commit is contained in:
Zdenek Kabelac 2014-03-19 23:33:01 +01:00
parent de5683d8d9
commit 8b1916fd5a
2 changed files with 2 additions and 7 deletions

View File

@ -13,9 +13,7 @@
. lib/test
aux prepare_devs 1
aux pvcreate -f $dev1
aux vgcreate $vg $dev1
aux prepare_vg
# lvcreate wipes signatures when found on newly created LV - test this on "swap".
# Test all combinatios with -Z{y|n} and -W{y|n} and related lvm.conf settings.
@ -92,6 +90,4 @@ mkswap "$DM_DEV_DIR/$vg/$lv1"
blkid -c /dev/null "$DM_DEV_DIR/$vg/$lv1" | grep "swap"
lvremove -f $vg/$lv1
vgremove $vg
pvremove $dev1
vgremove -f $vg

View File

@ -76,7 +76,6 @@ lvchange -an $vg/$lv1
not lvchange -K -ay $vg/snap
lvs -a -o +tags,thin_id $vg
dmsetup table
# Test if merge happens
lvchange -ay $vg/$lv1