]> sourceware.org Git - lvm2.git/commitdiff
tests: check event_activation can be disabled
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Feb 2021 21:27:59 +0000 (22:27 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Feb 2021 22:43:38 +0000 (23:43 +0100)
test/shell/pvscan-autoactivate.sh

index 9f7fc2ee7b463f795481500d42ffd4a4356cda24..153939d34115dad98c275462fd602429294024e8 100644 (file)
@@ -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
 
This page took 0.037823 seconds and 5 git commands to generate.