From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [PATCH] cr_tests/mq: wait for background tasks to exit Date: Thu, 4 Mar 2010 13:33:45 -0600 Message-ID: <20100304193345.GA21806@us.ibm.com> References: <1267722739-9466-1-git-send-email-ntl@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1267722739-9466-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Nathan Lynch Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org 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 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