it all boils down to the use of $CWD, File::chdir and Cwd related stuff
on MacOS, /var (and /tmp /etc alike) are links to directories inside /private (some leftovers from NeXTstep)
as you can see:
ls -l /
lrwxr-xr-x@ 1 root wheel 11 Oct 1 16:19 /var -> private/var
unfortunately, I have no correct solution on how to fix this, too much ugly things can happen with path, readapt, resolving paths with symbolic links etc, pwd, cwd, chdir …
for what it’s worth:
MacOS High Siera ( version 10.13.2 )
Perl (under perlbrew) 5.26.1
Nodejs::Util, from GitHub Release v0.009
Hope this is something you can work with
Greetings, Theo
Show quoted text> On 14 Jan 2018, at 16:17, Perl Ancar via RT <bug-Nodejs-Util@rt.cpan.org> wrote:
>
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=124072 >
>
> On Sat, 13 Jan 2018 15:23:57 GMT, VANHOESEL wrote:
>> it seems to have a problem with the tests
>>
>> t/00-compile, lines 74/78/84/85:
>>
>> got '/private/var/folders/...
>> expected '/var/folders/...
>>
>> hope this will help you fixing this problem ... and thus help install
>> all and everything that depends on it
>
>
> Which version of Nodejs::Util? what is perl version and OS version?
>
> I don't have access to a MacOS system, but looking at this:
>
>
http://www.cpantesters.org/distro/N/Nodejs-Util.html
>
> doesn't (yet) show any failures for MacOS.