GNU bug report logs - #10441
The testsuite assumes that ln -s really creates a symlink

Previous Next

Package: automake;

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

Date: Thu, 5 Jan 2012 22:17:01 UTC

Severity: important

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #13 received at 10441 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 10441 <at> debbugs.gnu.org
Subject: Re: bug#10441: The testsuite assumes that ln -s really creates a
	symlink
Date: Sun, 08 Jan 2012 16:49:13 +0100
Stefano Lattarini skrev 2012-01-08 13:56:
> On 01/05/2012 11:13 PM, Peter Rosin wrote:
>> Hi!
>>
> Hi Peter, thanks for the report.
> 
>> "ln -s" on MSYS does not create a symlink, instead it makes a
>> regular copy.  Lots of test cases (on master) FAIL due to this.
>>
>> "test -h foo" will simply not return success on MSYS, ever.
>>
>> Affected tests (that I have noticed):
>> add-missing.tap (lots of failing test cases)
>> copy.test
>>
> The attached patch should take care of the problem.  Tested using
> this script in PATH as the `ln' program:
> 
>   #!/bin/bash
>   declare -a args=()
>   for i in "$@"; do
>     test x"$i" = x"-s" && continue
>     args=("${args[@]}" "$i")
>   done
>   exec /bin/ln "${args[@]}"
> 
> I will push after your ACK or in 48 hours, whichever comes first.

add-missing.tap: 351 PASS, 50 skip
copy.test: PASS

Thanks!

Cheers,
Peter




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

Previous Next


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