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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Nathan Lynch <ntl@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux