Bug#836883: libcarp-datum-perl: autopkgtest failure: t/basic_on.t
Niko Tyni
ntyni at debian.org
Tue Sep 6 19:12:51 UTC 2016
Package: libcarp-datum-perl
Version: 1:0.1.3-7
User: debian-perl at lists.debian.org
Usertags: autopkgtest perl-cwd-inc-removal
This package is failing its autopkgtest checks on current sid.
Looks like it regressed with perl 5.22.2-4, which removed cwd from
@INC. Note that we currently (as of pkg-perl-tools 0.33) add the
absolute test directory path to @INC in autopkgtest runs rather than
set PERL_UNSAFE_INC=1 like debhelper does for the build.
t/basic_on.t ....
1..5
ok 1
ok 2
not ok 3
ok 4
ok 5
Failed 1/5 subtests
The underlying issue is that the generated t/file.err contains something like
| | +-> test::square(1) from test::wrap_square() at /home/niko/tmp/libcarp-datum-perl-0.1.3/t/test.pl:41 [/home/niko/tmp/libcarp-datum-perl-0.1.3/t/test.pl:31]
but the test is matching for 'at t/test.pl', i.e. without the absolute path.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list