Linux Container Development
 help / color / mirror / Atom feed
* [PATCH 1/8] cr_tests: crcounter: Don't report bogus waits
@ 2010-03-09 22:48 Matt Helsley
       [not found] ` <0c9ea18c7ffeb8688b31d01ce5f39a5a8c8a431f.1268174893.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Matt Helsley @ 2010-03-09 22:48 UTC (permalink / raw)
  To: Serge E. Hallyn; +Cc: Linux Containers

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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-03-10  1:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 22:48 [PATCH 1/8] cr_tests: crcounter: Don't report bogus waits Matt Helsley
     [not found] ` <0c9ea18c7ffeb8688b31d01ce5f39a5a8c8a431f.1268174893.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-03-09 22:48   ` [PATCH 2/8] cr_tests: factor out do_ckpt() Matt Helsley
2010-03-09 22:48   ` [PATCH 3/8] cr_tests: eventfd: use labels.[ch|lds] from libcrtest Matt Helsley
2010-03-09 22:48   ` [PATCH 4/8] cr_tests: epoll: Cleanup libeptest.[oa] Matt Helsley
2010-03-09 22:48   ` [PATCH 5/8] cr_tests: simple: Fix stdio Matt Helsley
2010-03-09 22:48   ` [PATCH 6/8] cr_tests: simple: Make output more useful Matt Helsley
2010-03-09 22:48   ` [PATCH 7/8] cr_tests: Make rewrite-cr-header.sh define the header cpp guard Matt Helsley
2010-03-09 22:48   ` [PATCH 8/8] cr_tests: update cr.h Matt Helsley
2010-03-10  1:19   ` [PATCH 1/8] cr_tests: crcounter: Don't report bogus waits Serge E. Hallyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox