Skip to contentSkip to conversation

LVM2/test/lib aux.sh

PATCH [email protected] 1 participant 1 message Mar 1, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2011-03-01 22:28:27

Modified files:
test/lib : aux.sh

Log message:
Fix tests if udevadm missing (old udev).

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

test/lib/aux.sh +1 -0
@@ -371,6 +371,7 @@
 
 udev_wait() {
 	pgrep udev >/dev/null || return
+	which udevadm >/dev/null || return
 	if test -n "$1" ; then
 		udevadm settle --exit-if-exists=$1
 	else