[PATCH 1/8] cr_tests: crcounter: Don't report bogus waits

Matt Helsley matthltc at us.ibm.com
Tue Mar 9 14:48:13 PST 2010


This outputs a bunch of garbage but according to the comments don't
absolutely need this wait anyway. So redirect stderr for the bash
wait to /dev/null.

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
---
 counterloop/cloop_serial.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/counterloop/cloop_serial.sh b/counterloop/cloop_serial.sh
index cc94db4..dcd11d3 100644
--- a/counterloop/cloop_serial.sh
+++ b/counterloop/cloop_serial.sh
@@ -52,7 +52,7 @@ for cnt in `seq 1 $NUMLOOPS`; do
 	echo checkpoint returned $?
 	kill -9 $pid
 	thaw
-	wait $pid
+	wait $pid 2> /dev/null
 	wait_on_crcounter
 	echo BAD > $dir/counter_out
 	$RESTART --pids < $dir/o.$cnt &
-- 
1.6.3.3



More information about the Containers mailing list