1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: no point in using should

lvmetad does not support lvm1 - so expect failure.
This commit is contained in:
Zdenek Kabelac 2015-10-29 12:23:38 +01:00
parent f58c634103
commit 8b5525383f

View File

@ -14,14 +14,19 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest . lib/inittest
# lvmetad does not support lvm1 format
aux prepare_devs 2 aux prepare_devs 2
pvcreate --metadatatype 1 "$dev1" pvcreate --metadatatype 1 "$dev1"
should vgscan --cache not vgscan --cache
pvs | should grep "$dev1" pvs | tee out
not grep "$dev1" out
vgcreate --metadatatype 1 $vg1 "$dev1" vgcreate --metadatatype 1 $vg1 "$dev1"
should vgscan --cache not vgscan --cache
vgs | should grep $vg1 vgs | tee out
pvs | should grep "$dev1" not grep $vg1 out
pvs | tee out
not grep "$dev1" out
# check for RHBZ 1080189 -- SEGV in lvremove/vgremove # check for RHBZ 1080189 -- SEGV in lvremove/vgremove
pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2" pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2"