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:
parent
f58a7f305b
commit
60443d6a5d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user