Skip to contentSkip to conversation

master - tests: metadata-bad-text.sh with lvmlockd

PATCH David Teigland 1 participant 1 message Sep 5, 2019

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=acb8050a30fb61ce5188d5c6daa8177942da0538
Commit:        acb8050a30fb61ce5188d5c6daa8177942da0538
Parent:        fcbffbdbc0a29287c65bfc378eb8aa99fd6490c1
Author:        David Teigland <[email protected]>
AuthorDate:    Thu Sep 5 15:27:52 2019 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Thu Sep 5 15:27:52 2019 -0500

tests: metadata-bad-text.sh with lvmlockd

skip part of test that doesn't apply

---
 test/shell/metadata-bad-text.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
test/shell/metadata-bad-text.sh +5 -0
index 2937a66..421706a 100644
@@ -250,6 +250,11 @@ vgremove -ff $vg
 # Test pvscan activation with bad PVs
 #
 
+# autoactivation not done on shared VGs
+if test -n "$LVM_TEST_LVMLOCKD"; then
+exit 0
+fi
+
 dd if=/dev/zero of="$dev1" || true
 dd if=/dev/zero of="$dev2" || true
 dd if=/dev/zero of="$dev3" || true