From a862c9af8ad2348595b63675aac4135a3e03f34b Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Wed, 22 Nov 2023 06:14:31 +0100 Subject: [PATCH] harness: fix operator precedence in call to exit Previously: $ ./perl -w -c t/harness Possible precedence issue with control flow operator at t/harness line 498. t/harness syntax OK --- t/harness | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/harness b/t/harness index 6344266d1a6b..50e5e899b071 100644 --- a/t/harness +++ b/t/harness @@ -495,4 +495,4 @@ $h->callback( my $agg = $h->runtests(@tests); _cleanup_valgrind(\$htoolnm, \$hgrind_ct); printf "Finished test run at %s.\n", scalar(localtime); -exit $agg->has_errors ? 1 : 0; +exit($agg->has_errors ? 1 : 0);