You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is manifested that the package supports as old as 5.6.1. But on CentOS5, with Perl 5.8.8, some tests will fail. File::temp may be too old to have some new function like 'newdir'.
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.........# Testing File::Next 1.16, Perl 5.008008, /usr/bin/perl
ok
t/api.............ok
t/basic...........ok
t/dirs............ok
t/dot.............ok
t/everything......ok
t/follow..........# t/follow.t is working with temp directory /tmp/cR5getxc30
ok
t/from_file.......Operation "eq": no method found,
left argument has no overloaded magic,
right argument in overloaded package File::Temp at /usr/lib/perl5/5.8.8/File/Copy.pm line 76.
# Looks like you planned 17 tests but only ran 10.
# Looks like your test died just after 10.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 11-17
Failed 7/17 tests, 58.82% okay
t/from_stdin......ok
t/methods.........ok
t/named-pipe......Can't locate object method "newdir" via package "File::Temp" at t/named-pipe.t line 15.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/parms...........ok
t/pod-coverage....ok
t/pod.............ok
t/sort............ok
t/zero............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/from_file.t 255 65280 17 14 82.35% 11-17
t/named-pipe.t 255 65280 2 4 200.00% 1-2
Failed 2/16 test scripts, 87.50% okay. 9/89 subtests failed, 89.89% okay.
The text was updated successfully, but these errors were encountered:
As the opener suspected it looks like both issues stem from using File::Temp objects, which were not fully formed in older versions of Perl. File::Temp didn't have a newdir method until 5.10.1 and File::Copy::copy doesn't seem to like a File::Temp object as an argument until 5.8.9. An easy fix would be to switch to the functions File::Temp::tempfile() and File::Temp::tempdir() in those tests instead of using objects.
I'd be happy to take this on if that sounds like a good solution.
It is manifested that the package supports as old as 5.6.1. But on CentOS5, with Perl 5.8.8, some tests will fail. File::temp may be too old to have some new function like 'newdir'.
The text was updated successfully, but these errors were encountered: