CPAN--Mini--Inject
CPAN--Mini--Inject copied to clipboard
t/update_mirror.t: Ignore DIE signal inside eval blocks
The process will still be running and the error handled. See: https://www.perlmonks.org/?node_id=1173708
This leads to situations where the test server is stopped and tests failing, due to the "libregexp-ipv6-perl" not being installed in Debian/Ubuntu.
It's caused by liburi-perl's detection of "Regexp::IPv6" by requiring it and catching the failure (DIE signal) in URI/_generic.pm:20. https://github.com/libwww-perl/URI/blob/master/lib/URI/_generic.pm#L20
Signed-off-by: Lukas Märdian [email protected]
See also: https://bugs.launchpad.net/ubuntu/+source/liburi-perl/+bug/1981608 And: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014720
I've merged #26 in briandfoy/cpan-mini-inject in 93b6cef88c9269033d5592e360ed1841d438fff3. I can't close this issue, but look to the new repo for future work.
This is part of 1.002. Thanks,