Skip to contentSkip to conversation

LVM2/test/lib aux.sh

PATCH [email protected] 1 participant 1 message Jan 7, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2011-01-07 13:04:17

Modified files:
test/lib : aux.sh

Log message:
Disable activation/monitoring in testing lvm.conf by default.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/lib/aux.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4

test/lib/aux.sh +4 -1
@@ -52,7 +52,9 @@
             exit 1
         }
 
-	dmeventd -f &
+        lvmconf "activation/monitoring = 1"
+
+	dmeventd -f "$@" &
 	echo "$!" > LOCAL_DMEVENTD
 }
 
@@ -335,6 +337,7 @@
 activation/polling_interval = 0
 activation/snapshot_autoextend_percent = 50
 activation/snapshot_autoextend_threshold = 50
+activation/monitoring = 0
 EOF
     }