summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2023-04-24 22:49:47 -0500
committerErik Mackdanz <stasibear@gentoo.org>2023-04-24 22:51:11 -0500
commit5ae969bcf357d9c0d7b5ed913ff46e48ccf25907 (patch)
treea8fe7825eadba6fb2f83e4bd82dacf822d523d51 /dev-perl
parentapp-portage/tatt: add 0.11 (diff)
downloadgentoo-5ae969bcf357d9c0d7b5ed913ff46e48ccf25907.tar.gz
gentoo-5ae969bcf357d9c0d7b5ed913ff46e48ccf25907.tar.bz2
gentoo-5ae969bcf357d9c0d7b5ed913ff46e48ccf25907.zip
dev-perl/HTML-FormatExternal: disable some failing test inputs
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Closes: https://bugs.gentoo.org/904076
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild b/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild
index 954b212ca422..5d3592da89dc 100644
--- a/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild
+++ b/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild
@@ -23,3 +23,14 @@ BDEPEND="${RDEPEND}
dev-perl/Module-Build
virtual/perl-ExtUtils-MakeMaker
"
+
+src_prepare() {
+ # remove some test inputs that fail in w3m
+ # https://bugs.gentoo.org/904076
+ sed -i -e 's/-###/-/' t/FormatExternal.t || \
+ die "Couldn't replace -### test input"
+ sed -i -e 's/%57/-/' t/FormatExternal.t || \
+ die "Couldn't replace %57 test input"
+
+ eapply_user
+}