From c0f995050f04f075eda9025db514be08b13c9a6e Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 4 Jun 2013 10:37:08 +0200 Subject: [PATCH] tests: update test Fix !test -> test ! --- test/shell/inconsistent-metadata.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/shell/inconsistent-metadata.sh b/test/shell/inconsistent-metadata.sh index 9f4ffd2f1..48948616c 100644 --- a/test/shell/inconsistent-metadata.sh +++ b/test/shell/inconsistent-metadata.sh @@ -43,7 +43,7 @@ not grep "Inconsistent metadata found for VG $vg" cmd.out check # only vgscan would have noticed metadata inconsistencies when lvmetad is active -if !test -e LOCAL_LVMETAD; then +if test ! -e LOCAL_LVMETAD; then # vgdisplay fixes init vgdisplay $vg 2>&1 | tee cmd.out @@ -77,4 +77,5 @@ aux backup_dev "$dev2" vgcreate $vg "$dev1" vgextend $vg "$dev2" aux restore_dev "$dev2" +vgscan $cache should check compare_fields vgs $vg vg_mda_count pvs "$dev2" vg_mda_count -- 2.43.5