From 06760b3be4a18a6b1530c4b28f23c0a21b2f1035 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 6 Feb 2025 15:37:58 -0800 Subject: [PATCH] test: unset PERL5OPT for parallel-tests-log-compiler-example.sh. * t/parallel-tests-log-compiler-example.sh: unset PERL5OPT since the test expects a warning. --- t/parallel-tests-log-compiler-example.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/parallel-tests-log-compiler-example.sh b/t/parallel-tests-log-compiler-example.sh index fa8f97fcb..1307ad51a 100644 --- a/t/parallel-tests-log-compiler-example.sh +++ b/t/parallel-tests-log-compiler-example.sh @@ -38,9 +38,10 @@ AM_LOG_FLAGS = -d END # intentionally reversed += operator to provoke warning; thus, -# explicitly use warnings so that PERL5OPT=-Mwarnings=FATAL,all -# in the environment won't be a fatal error. See ../HACKING. -echo 'use warnings; my $a =+ 2; exit (0);' > foo.pl +# explicitly unset PERL5OPT so that PERL5OPT=-Mwarnings=FATAL,all +# in the environment won't cause a fatal error. See ../HACKING. +unset PERL5OPT +echo 'my $a =+ 2; exit (0);' > foo.pl echo 'import sys; sys.exit(0);' > bar.py : > baz -- 2.47.3