On 2020-01-14 12:04:19, TEAM wrote:
Show quoted text> If the system perl doesn't match the one used in tests, `t/20connect-
> sshexec.t` can fail - for example, unable to load some modules which
> are only installed for the `perl` executable that happened to be in
> the path for the test.
>
> Should probably use `$^X` rather than trying to exec the script
> directly?
Same problem seems to exist with t/20connect-exec.t:
...
Can't locate IO/Async/Loop.pm in @INC (you may need to install the IO::Async::Loop module) (@INC contains: /usr/home/cpansand/.cpan/build/2020011408/Net-Async-Tangence-0.15-0/blib/arch /usr/home/cpansand/.cpan/build/2020011408/Net-Async-Tangence-0.15-0/blib/lib /usr/home/cpansand/.cpan/build/2020011408/Net-Async-Tangence-0.15-0/blib/lib /usr/home/cpansand/.cpan/build/2020011408/Net-Async-Tangence-0.15-0/blib/arch /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at t/server.pl line 14.
BEGIN failed--compilation aborted at t/server.pl line 14.
Child exited unexpectedly (status=512, $!=)
t/20connect-exec.t .....
No subtests run
...
-> @INC indicates that the system perl is used here (FreeBSD's perl configuration lists directories with a component "mach"), but another perl was used to build & test the distribution.