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

Cheers,
Peter



Reply via email to