Subject: | Tests failing on all Fedora releases except Rawhide |
Test::Modern 0.006 is generating warnings in _setup_inc in all Fedora Linux releases except the development branch (and RHEL 7 beta too), like this:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t ............. ok
t/02exporting.t ......... ok
t/03extended.t .......... skipped: Not running extended tests
t/04requires.t .......... skipped: Test requires Local::I::Doubt::This::Exists::Either 999.999
Use of uninitialized value $file in string ne at /usr/lib/perl5/vendor_perl/File/Spec/Unix.pm line 321.
Use of uninitialized value $file in concatenation (.) or string at /usr/lib/perl5/vendor_perl/File/Spec/Unix.pm line 329.
# Failed test 'no (unexpected) warnings (via done_testing)'
# at t/05warnings.t line 30.
# Looks like you failed 1 test of 2.
t/05warnings.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Use of uninitialized value $file in string ne at /usr/lib/perl5/vendor_perl/File/Spec/Unix.pm line 321.
Use of uninitialized value $file in concatenation (.) or string at /usr/lib/perl5/vendor_perl/File/Spec/Unix.pm line 329.
# Failed test 'no (unexpected) warnings (via done_testing)'
# at t/06class-api-ok.t line 33.
# Looks like you failed 1 test of 2.
t/06class-api-ok.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
All of the remaining tests fail in the same way. This appears to be coming from the 'File::Spec'->catpath(@tmp); call in _setup_inc but I'm struggling to see what's different between the Rawhide build, which doesn't trigger this, and all of the others.