Skip to contentSkip to conversation

LVM2/test/lib aux.sh

PATCH [email protected] 1 participant 1 message Jun 29, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-06-29 17:33:40

Modified files:
test/lib : aux.sh

Log message:
remove any stray semaphores after tearing down devs

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

test/lib/aux.sh +3 -0
@@ -86,6 +86,9 @@
 	fi
 	rm -f DEVICES # devs is set in prepare_devs()
 	rm -f LOOP
+
+	# Delete any remaining dm/udev semaphores
+	dmsetup udevcomplete_all -y
 }
 
 teardown() {