From 846bae61238b001cdca5c56aeb492ecb12d7e120 Mon Sep 17 00:00:00 2001 From: Dmitri Vereshchagin Date: Sat, 16 Aug 2025 15:16:16 +0300 Subject: [PATCH] Unset PERLDOC environment variable for tests Test invoking `ack --man' depend on this variable. For example, with `PERLDOC=-oman' they fail. --- t/Util.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Util.pm b/t/Util.pm index 979a3411..6425f89a 100644 --- a/t/Util.pm +++ b/t/Util.pm @@ -88,7 +88,7 @@ my @temp_files; # We store temp files here to make sure they're properly reclaim sub prep_environment { my @ack_args = qw( ACKRC ACK_PAGER HOME ACK_COLOR_MATCH ACK_COLOR_FILENAME ACK_COLOR_LINENO ACK_COLOR_COLNO ); - my @taint_args = qw( PATH CDPATH IFS ENV ); + my @taint_args = qw( PATH CDPATH IFS ENV PERLDOC ); delete @ENV{ @ack_args, @taint_args }; if ( is_windows() ) {