diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-07-19 17:21:56 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-07-19 17:39:46 +0200 |
commit | 9d19c1075f0265aed7a1d1dab216e65cae6d460a (patch) | |
tree | a47f2b94b14ec203757997a5bd45b0686b96b565 | |
parent | 6dc4d035088c74693e3920961ec7814e4ecf0793 (diff) | |
download | lvm2-9d19c1075f0265aed7a1d1dab216e65cae6d460a.tar.gz |
tests: enforce flush of cache target
Since now lvm command no longer is flushing cache target with status
query - enforce it with extra status.
-rw-r--r-- | test/shell/lvconvert-repair-cache.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/shell/lvconvert-repair-cache.sh b/test/shell/lvconvert-repair-cache.sh index 756fd122c..568d66b40 100644 --- a/test/shell/lvconvert-repair-cache.sh +++ b/test/shell/lvconvert-repair-cache.sh @@ -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 || { |