mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: no point in using should
lvmetad does not support lvm1 - so expect failure.
This commit is contained in:
parent
f58c634103
commit
8b5525383f
@ -14,14 +14,19 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
# lvmetad does not support lvm1 format
|
||||
|
||||
aux prepare_devs 2
|
||||
pvcreate --metadatatype 1 "$dev1"
|
||||
should vgscan --cache
|
||||
pvs | should grep "$dev1"
|
||||
not vgscan --cache
|
||||
pvs | tee out
|
||||
not grep "$dev1" out
|
||||
vgcreate --metadatatype 1 $vg1 "$dev1"
|
||||
should vgscan --cache
|
||||
vgs | should grep $vg1
|
||||
pvs | should grep "$dev1"
|
||||
not vgscan --cache
|
||||
vgs | tee out
|
||||
not grep $vg1 out
|
||||
pvs | tee out
|
||||
not grep "$dev1" out
|
||||
|
||||
# check for RHBZ 1080189 -- SEGV in lvremove/vgremove
|
||||
pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2"
|
||||
|
Loading…
Reference in New Issue
Block a user