[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10441: The testsuite assumes that ln -s really creates a symlink
From: |
Stefano Lattarini |
Subject: |
bug#10441: The testsuite assumes that ln -s really creates a symlink |
Date: |
Sun, 08 Jan 2012 13:56:36 +0100 |
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=("address@hidden" "$i")
done
exec /bin/ln "address@hidden"
I will push after your ACK or in 48 hours, whichever comes first.
Regards,
Stefano
0001-tests-avoid-many-spurious-failures-on-MSYS-due-to-la.patch
Description: Text Data