Skip to contentSkip to conversation

LVM2/test t-lock-blocking.sh

PATCH [email protected] 1 participant 1 message Aug 2, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-08-02 13:23:02

Modified files:
test : t-lock-blocking.sh

Log message:
Minor speedup of lock test -
Instead of waiting for flock process finish kill the flock process.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lock-blocking.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2

test/t-lock-blocking.sh +1 -1
@@ -33,4 +33,4 @@
 flock_pid=`jobs -p`
 not vgremove --config 'global { wait_for_locks = 0 }' $vg
 ps $flock_pid # still running
-wait $flock_pid
+kill $flock_pid