Subject: | System perl used in tests |
The following failure suggests that the system perl is used in tests, not $^X:
...
Can't locate Moose.pm in @INC (you may need to install the Moose module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/inc /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib/Plack/Handler/FCGI/Engine.pm line 2.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib/Plack/Handler/FCGI/Engine.pm line 2.
Compilation failed in require at /usr/share/perl5/Plack/Util.pm line 23.
# Failed test '... got the right status'
# at t/023_manager_w_plackup.t line 51.
# got: 'baz.server is not running
# '
# expected: 'baz.server is running
# '
Can't locate Moose.pm in @INC (you may need to install the Moose module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/inc /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib/Plack/Handler/FCGI/Engine.pm line 2.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016080521/FCGI-Engine-0.22-0/blib/lib/Plack/Handler/FCGI/Engine.pm line 2.
Compilation failed in require at /usr/share/perl5/Plack/Util.pm line 23.
# Failed test '... got the right status'
# at t/023_manager_w_plackup.t line 67.
# got: 'baz.server is not running
# '
# expected: 'baz.server is running
# '
# Looks like you failed 2 tests of 11.
t/023_manager_w_plackup.t ................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests
...