All of lore.kernel.org
 help / color / mirror / Atom feed
* main - tests: check event_activation can be disabled
@ 2021-02-08 22:45 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2021-02-08 22:45 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6373f3909252e312ca2b25d42a46a712099ae7fc
Commit:        6373f3909252e312ca2b25d42a46a712099ae7fc
Parent:        b86eb913c18ca67415521b8003c04adf41a5496c
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Mon Feb 8 22:27:59 2021 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Feb 8 23:43:38 2021 +0100

tests: check event_activation can be disabled

---
 test/shell/pvscan-autoactivate.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/shell/pvscan-autoactivate.sh b/test/shell/pvscan-autoactivate.sh
index 9f7fc2ee7..153939d34 100644
--- a/test/shell/pvscan-autoactivate.sh
+++ b/test/shell/pvscan-autoactivate.sh
@@ -31,6 +31,10 @@ _clear_online_files() {
 
 aux prepare_devs 8 16
 
+# Check 'pvscan' is ignored when event_activation is 0
+pvscan --cache -aay -v --config 'global/event_activation=0' 2>&1 | tee out
+grep "Ignoring pvscan" out
+
 vgcreate $vg1 "$dev1" "$dev2"
 lvcreate -n $lv1 -l 4 -a n $vg1
 



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-08 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 22:45 main - tests: check event_activation can be disabled Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.