From: Karl Berry Date: Thu, 6 Feb 2025 23:37:58 +0000 (-0800) Subject: test: unset PERL5OPT for parallel-tests-log-compiler-example.sh. X-Git-Tag: v1.17.90~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06760b3be4a18a6b1530c4b28f23c0a21b2f1035;p=thirdparty%2Fautomake.git 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. --- 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