bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10465: MSYS read-only file trouble


From: Stefano Lattarini
Subject: bug#10465: MSYS read-only file trouble
Date: Mon, 09 Jan 2012 20:52:49 +0100

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?

Regards,
  Stefano





reply via email to

[Prev in Thread] Current Thread [Next in Thread]