Subject: | t/sitemapper.t fails (with IPv6 hostname involved?) |
t/sitemapper.t fails on a CentOS8 smoker of mine:
...
$ perl5.30.1 -Mblib t/sitemapper.t
1..117
...
ok 63 - child22->title is correct
ok 64 - child22 has no nodes
ok 65 - txt_sitemap() called successfully
Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE / at t/sitemapper.t line 661.
ok 66 - no warnings
# Looks like your test exited with 255 just after 66.
...
Problem is that the $server_host here looks like this:
http://[::1]:55103/
and in the further course $host is stripped to just "[", which is invalid as a regexp.