Skip to contentSkip to conversation

master - tests: metadata-zero-space add info for debugging

PATCH David Teigland 1 participant 1 message Sep 11, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=772dbb1e39d007c770dd7ddb5ca912009658f8a0
Commit:        772dbb1e39d007c770dd7ddb5ca912009658f8a0
Parent:        447ba5f1c20161d2ca89e0673fc4b219f65209a9
Author:        David Teigland <[email protected]>
AuthorDate:    Wed Sep 11 14:20:59 2019 -0500
Committer:     David Teigland <[email protected]>
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(-)
test/shell/metadata-zero-space.sh +3 -0
index 11c358b..f69aee5 100644
@@ -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