From: Johannes Schindelin Date: Tue, 27 Jan 2009 16:42:03 GMT Subject: Re: [PATCH] Windows: Fix intermittent failures of t7701 Message-ID: In-Reply-To: <497F076F.8060509@viscovery.net> Hi, On Tue, 27 Jan 2009, Johannes Sixt wrote: > We want to catch failures of test-chmtime; but since it appears in a > pipe, we cannot access its exit code. Therefore, we at least make sure > that it prints time stamps of all files that are passed on its command > line. I use this trick in my valgrind series: ($PROGRAM; echo $? > exit.code) | $OTHER_PROGRAM && test 0 = "$(cat exit.code)" Ciao, Dscho