Subject: | t/bin/log_parameters.t failures (wrong perl executable used?) |
On many smokers t/bin/log_parameters.t fails like this: http://www.cpantesters.org/cpan/report/57137bda-fe14-11e9-9e8e-e6c03af6e823
I think this happens because the scripts called within the test file are always running with the first perl in user's PATH, which does not have to be the same perl used for building the distribution.
A common fix is to use $^X in the system() invocation, or alternatively change the shebangs of the scripts to #!/usr/bin/perl and call the variants in blib/script, as these would have correct shebangs generated by ExtUtils::MakeMaker.