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