This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/test t-lock-blocking.sh
- From: zkabelac at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 2 Aug 2010 13:23:03 -0000
- Subject: LVM2/test t-lock-blocking.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@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
--- LVM2/test/t-lock-blocking.sh 2010/06/24 07:57:54 1.1
+++ LVM2/test/t-lock-blocking.sh 2010/08/02 13:23:01 1.2
@@ -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