[Devel] [PATCH] cr_tests/mq: wait for background tasks to exit
Nathan Lynch
ntl at pobox.com
Thu Mar 4 09:12:19 PST 2010
Ensure the background process that has been checkpointed has exited
before proceeding with restart.
Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
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