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: Peter Rosin
Subject: bug#10465: MSYS read-only file trouble
Date: Mon, 09 Jan 2012 20:11:35 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

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

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