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

test: Fix the vgck test after vg_write change.

This commit is contained in:
Petr Rockai 2014-06-08 20:16:13 +02:00
parent f58a7f305b
commit 60443d6a5d

View File

@ -18,11 +18,11 @@ dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2"
# TODO: aux lvmconf "global/locking_type = 4"
vgscan 2>&1 | tee vgscan.out
if test -e LOCAL_LVMETAD; then
vgscan 2>&1 | tee vgscan.out
not grep "Inconsistent metadata found for VG $vg" vgscan.out
else
not vgscan 2>&1 | tee vgscan.out
grep "Inconsistent metadata found for VG $vg" vgscan.out
fi