summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-02-13 23:10:15 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-02-17 11:21:35 +0100
commit3ef0861355ad70589959d1e92b53f91424197946 (patch)
treed388cccf8e1ef650fe191cab440cf498a58bd3e5
parent14008ead2a42b4a5db0c81e444f9ea1a05c1a899 (diff)
downloadlvm2-3ef0861355ad70589959d1e92b53f91424197946.tar.gz
tests: lvdisplay does not crash for merged thin
-rw-r--r--test/shell/thin-merge.sh3
1 files changed, 3 insertions, 0 deletions
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