[Devel] Re: [PATCH] cr_tests/mq: wait for background tasks to exit

Serge E. Hallyn serue at us.ibm.com
Thu Mar 4 11:33:45 PST 2010


Quoting Nathan Lynch (ntl at pobox.com):
> Ensure the background process that has been checkpointed has exited
> before proceeding with restart.
> 
> Signed-off-by: Nathan Lynch <ntl at pobox.com>

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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list