1
0
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:
Zdenek Kabelac 2016-07-19 17:21:56 +02:00
parent 6dc4d03508
commit 9d19c1075f

View File

@ -101,6 +101,9 @@ sync
# Seriously damage cache metadata # Seriously damage cache metadata
aux error_dev "$dev1" 2054:2 aux error_dev "$dev1" 2054:2
# flushing status
dmsetup status $vg-$lv1
# On fixed kernel we get instant Fail here # On fixed kernel we get instant Fail here
get lv_field $vg/$lv1 lv_attr | tee out get lv_field $vg/$lv1 lv_attr | tee out
grep "Cwi-a-C-F-" out || { grep "Cwi-a-C-F-" out || {