* [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
* Re: [PATCH] cr_tests/mq: wait for background tasks to exit
[not found] ` <1267722739-9466-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
@ 2010-03-04 19:33 ` Serge E. Hallyn
0 siblings, 0 replies; 2+ messages in thread
From: Serge E. Hallyn @ 2010-03-04 19:33 UTC (permalink / raw)
To: Nathan Lynch; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Quoting Nathan Lynch (ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org):
> 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>
Applied, thanks.
> ---
> 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 [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox