mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-22 06:50:52 +03:00
tests: larger are needs to be disabled
Since we 'disable' lvmetad via --repair of 'raid' if such target is not present, we simply skip all tests expecting disabled lvmetad.
This commit is contained in:
parent
4ae481bb30
commit
a611f24751
@ -62,7 +62,6 @@ if aux have_raid 1 7 0 ; then
|
||||
lvcreate --type raid1 -m1 --nosync -l1 --alloc anywhere -n $lv2 $vg1
|
||||
lvconvert -y --repair $vg1/$lv2 2>&1 | tee out
|
||||
grep "WARNING: Disabling lvmetad cache" out
|
||||
fi
|
||||
|
||||
pvs -vvvv 2>&1 | tee out
|
||||
grep "$dev1" out
|
||||
@ -80,6 +79,7 @@ grep "WARNING: Not using lvmetad" out
|
||||
|
||||
pvremove "$dev1" 2>&1 | tee out
|
||||
grep "WARNING: Not using lvmetad" out
|
||||
fi
|
||||
|
||||
pvscan --cache 2>&1 | tee out
|
||||
not grep "WARNING: Disabling lvmetad cache" out
|
||||
|
Loading…
x
Reference in New Issue
Block a user