All of lore.kernel.org
 help / color / mirror / Atom feed
* dev-mornfall-lvmcache - test: wait for pid removal
@ 2013-06-05 12:03 Petr Rockai
  0 siblings, 0 replies; only message in thread
From: Petr Rockai @ 2013-06-05 12:03 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4741e449e66d19a0285ee1772e0d40da2fd8d5c0
Commit:        4741e449e66d19a0285ee1772e0d40da2fd8d5c0
Parent:        f7d55118765dade557fea9e39cbe98d94aebbca3
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Fri May 3 15:21:11 2013 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri May 3 15:44:15 2013 +0200

test: wait for pid removal

---
 test/shell/clvmd-restart.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/shell/clvmd-restart.sh b/test/shell/clvmd-restart.sh
index e88e187..b288ad8 100644
--- a/test/shell/clvmd-restart.sh
+++ b/test/shell/clvmd-restart.sh
@@ -55,6 +55,7 @@ vgchange -an $vg
 
 # Test what happens after 'reboot'
 kill "$LOCAL_CLVMD"
+while test -e "/var/run/clvmd.pid"; do echo -n .; sleep .1; done # wait for the pid removal
 aux prepare_clvmd
 
 vgchange -ay $vg



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-05 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 12:03 dev-mornfall-lvmcache - test: wait for pid removal Petr Rockai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.