From c9cf85f606d14bcffdbdfaf19e0fa3a8e8b2a5d3 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Tue, 19 Apr 2016 09:18:31 -0500 Subject: [PATCH] test: update lvm1 test Make it a generic lvm1 test, which should work with or without lvmetad now that lvmetad is just disabled when lvm1 is used. --- test/shell/{lvmetad-lvm1.sh => lvm1-basic.sh} | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) rename test/shell/{lvmetad-lvm1.sh => lvm1-basic.sh} (86%) diff --git a/test/shell/lvmetad-lvm1.sh b/test/shell/lvm1-basic.sh similarity index 86% rename from test/shell/lvmetad-lvm1.sh rename to test/shell/lvm1-basic.sh index 824c1d54f..8884bc101 100644 --- a/test/shell/lvmetad-lvm1.sh +++ b/test/shell/lvm1-basic.sh @@ -15,19 +15,15 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest -# lvmetad does not support lvm1 format - aux prepare_devs 2 pvcreate --metadatatype 1 "$dev1" -should not vgscan --cache pvs | tee out -not grep "$dev1" out +grep "$dev1" out vgcreate --metadatatype 1 $vg1 "$dev1" -should not vgscan --cache vgs | tee out -not grep $vg1 out +grep $vg1 out pvs | tee out -not grep "$dev1" out +grep "$dev1" out # check for RHBZ 1080189 -- SEGV in lvremove/vgremove pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2" -- 2.43.5