[lvm-devel] master - tests: metadata-zero-space add info for debugging

David Teigland teigland at sourceware.org
Wed Sep 11 19:21:23 UTC 2019


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=772dbb1e39d007c770dd7ddb5ca912009658f8a0
Commit:        772dbb1e39d007c770dd7ddb5ca912009658f8a0
Parent:        447ba5f1c20161d2ca89e0673fc4b219f65209a9
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed Sep 11 14:20:59 2019 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed Sep 11 14:20:59 2019 -0500

tests: metadata-zero-space add info for debugging

---
 test/shell/metadata-zero-space.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/shell/metadata-zero-space.sh b/test/shell/metadata-zero-space.sh
index 11c358b..f69aee5 100644
--- a/test/shell/metadata-zero-space.sh
+++ b/test/shell/metadata-zero-space.sh
@@ -35,6 +35,9 @@ dd if="$dev1" of=meta.raw bs=1M count=1
 
 xxd meta.raw > meta.txt
 
+# to help debug if the next grep fails
+grep -A4 -B4 00001200 meta.txt
+
 grep -B1 "$vg {" meta.txt > meta.vg
 
 cat meta.vg




More information about the lvm-devel mailing list