Subject: | System perl used in tests |
The test suite fails on my systems (freebsd and linux, various perl versions), probably due to using system perl instead of the currently used perl in the t/50-user_scripts.t test:
Can't locate Config/IniFiles.pm in @INC (@INC contains: ../lib /usr/home/eserte/.cpan/build/EBook-Tools-v0.5.4-38FZI4/blib/lib /usr/home/eserte/.cpan/build/EBook-Tools-v0.5.4-38FZI4/blib/arch /home/eserte/.cpan/build/Crixa-0.06-dXexWd/blib/arch /home/eserte/.cpan/build/Crixa-0.06-dXexWd/blib/lib /home/eserte/.cpan/build/Crixa-0.06-dXexWd/blib/arch /home/eserte/.cpan/build/Crixa-0.06-dXexWd/blib/lib /usr/local/lib/perl5/5.16/BSDPAN /usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at ../scripts/ebook.pl line 18.
BEGIN failed--compilation aborted at ../scripts/ebook.pl line 18.
# Failed test 'ebook blank exits successfully'
# at t/50-user_scripts.t line 57.
# got: '2'
# expected: '0'
EBook::Tools::init(): 'testdir/blank.opf' does not exist or is not a regular file! at t/50-user_scripts.t line 58.
# Looks like you planned 16 tests but ran 3.
# Looks like you failed 1 test of 3 run.
# Looks like your test exited with 2 just after 3.
t/50-user_scripts.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 14/16 subtests