mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
tests: enforce flush of cache target
Since now lvm command no longer is flushing cache target with status query - enforce it with extra status.
This commit is contained in:
parent
6dc4d03508
commit
9d19c1075f
@ -101,6 +101,9 @@ sync
|
||||
# Seriously damage cache metadata
|
||||
aux error_dev "$dev1" 2054:2
|
||||
|
||||
# flushing status
|
||||
dmsetup status $vg-$lv1
|
||||
|
||||
# On fixed kernel we get instant Fail here
|
||||
get lv_field $vg/$lv1 lv_attr | tee out
|
||||
grep "Cwi-a-C-F-" out || {
|
||||
|
Loading…
x
Reference in New Issue
Block a user