Stefano Lattarini skrev 2012-01-09 20:52: > On 01/09/2012 08:11 PM, Peter Rosin wrote: >> Stefano Lattarini skrev 2012-01-09 20:03: >>>> + ./tap-driver --test-name zardoz --log-file zardoz.log --trs-file >>>> zardoz.trs -- sh -c 'echo 1..1; echo ok 1; echo "Hello, World!"' >>>> + st=1 >>>> >>> Hmmm... looks like the shell is not returning a non-zero exit status in >>> face of a I/O redirection failure. >>> >>> Could you try what happens doing the following? >>> >>> $ > foo; chmod a-w foo; sh -c ': > foo; echo one: $?'; echo two: $? >> >> sh: foo: Permission denied >> two: 1 >> > So the shell catches the redirection error correctly after all. Hmmm. > > Is the failure of tap-driver-stderr.test reproducible?
Yes, fails in the same way every time. Cheers, Peter