From 3ef0861355ad70589959d1e92b53f91424197946 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 13 Feb 2021 23:10:15 +0100 Subject: [PATCH] tests: lvdisplay does not crash for merged thin --- test/shell/thin-merge.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/shell/thin-merge.sh b/test/shell/thin-merge.sh index c0a022c57..34f5c7428 100644 --- a/test/shell/thin-merge.sh +++ b/test/shell/thin-merge.sh @@ -64,6 +64,9 @@ grep "Merging of thin snapshot $vg/snap will occur on next activation of $vg/${l not lvconvert --merge $vg/snap1 &>out grep "Cannot merge snapshot" out +# Check lvdisplay is not crashing while merge needs to wait +lvdisplay -a $vg + umount mnt # Merge cannot happen