GNU bug report logs - #10465
MSYS read-only file trouble

Previous Next

Package: automake;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Mon, 9 Jan 2012 11:00:02 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 10465 <at> debbugs.gnu.org
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




This bug report was last modified 13 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.