So while the above patch is probably correct, it's slightly risky at this stage before a release. Also the benefits are minimal as the existing symlink to symlink emulation should be fine on the mentioned systems. Therefore I'll go with the attached patch which fixes the test to run on all platforms. The test failed on freebsd, aix and solaris previously, and I've confirmed it now passes on all those. cheers, Pádraig.