From 342572730bc09ea6c8f1d7b82560ea3aba1cece0 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Mon, 12 May 2014 13:43:22 +0930 Subject: [PATCH] Don't busy wait for forked processes to terminate --- testframework.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testframework.sh b/testframework.sh index a0626b47..c38e9fc7 100644 --- a/testframework.sh +++ b/testframework.sh @@ -1760,6 +1760,7 @@ fork_wait() { fi done [ $running -eq 0 ] && return 0 + sleep 1 done }