All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cr_tests/mq: wait for background tasks to exit
@ 2010-03-04 17:12 Nathan Lynch
       [not found] ` <1267722739-9466-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Lynch @ 2010-03-04 17:12 UTC (permalink / raw)
  To: serue-r/Jw6+rmf7HQT0dZR+AlfA
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Ensure the background process that has been checkpointed has exited
before proceeding with restart.

Signed-off-by: Nathan Lynch <ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
---
 ipc/test-mq.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ipc/test-mq.sh b/ipc/test-mq.sh
index fc5343e..aa5227c 100644
--- a/ipc/test-mq.sh
+++ b/ipc/test-mq.sh
@@ -29,6 +29,7 @@ do_checkpoint() {
 	${CHECKPOINT} $pid > ckpt.msq
 	thaw
 	killall check-mq
+	wait
 }
 
 echo "XXX Test 1: simple restart with SYSVIPC msq"
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-04 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04 17:12 [PATCH] cr_tests/mq: wait for background tasks to exit Nathan Lynch
     [not found] ` <1267722739-9466-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2010-03-04 19:33   ` Serge E. Hallyn

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.