[lvm-devel] [PATCH 05/14] Testsuit: speedup
Zdenek Kabelac
zkabelac at redhat.com
Wed Jul 28 09:15:51 UTC 2010
Instead of waiting for flock end kill lock.
Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
test/t-lock-blocking.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/t-lock-blocking.sh b/test/t-lock-blocking.sh
index 7e5321e..166340c 100644
--- a/test/t-lock-blocking.sh
+++ b/test/t-lock-blocking.sh
@@ -33,4 +33,4 @@ flock -w 5 $TESTDIR/var/lock/lvm/P_orphans -c "sleep 10" &
flock_pid=`jobs -p`
not vgremove --config 'global { wait_for_locks = 0 }' $vg
ps $flock_pid # still running
-wait $flock_pid
+kill $flock_pid
--
1.7.2
More information about the lvm-devel
mailing list