Subject: | Failed test 'does not become module path' |
t/perl-pod_or_pm_filename.t and (less often) t/perl-pod_filename.t fail on some of my smokers:
...
# Failed test 'does not become module path'
# at t/perl-pod_filename.t line 20.
# got: '/usr/share/perl/5.28/strict.pod'
# expected: 'strict'
# Looks like you failed 1 test of 8.
# Failed test 'coercion'
# at t/perl-pod_filename.t line 31.
# Looks like you failed 1 test of 1.
t/perl-pod_filename.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
# Failed test 'becomes module path'
# at t/perl-pod_or_pm_filename.t line 20.
# got: '/usr/share/perl/5.28/strict.pod'
# expected: '/usr/share/perl/5.28/strict.pm'
# Looks like you failed 1 test of 9.
# Failed test 'coercion'
# at t/perl-pod_or_pm_filename.t line 33.
# Looks like you failed 1 test of 1.
t/perl-pod_or_pm_filename.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
In this case this looks like Debian's system perl (as the path /usr/share/perl/... is used), and indeed, Debian has split the Pod documentation from the code, there's a separate strict.pod here.