From: Andrew Aitchison Date: Fri, 17 Mar 2023 12:19:48 +0000 (+0000) Subject: Testsuite: tidy use of undef'd var X-Git-Tag: exim-4.97-RC0~100 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/da1702c0e2fd5b5b4300bbae3f21db7ac5d74198 Testsuite: tidy use of undef'd var --- diff --git a/test/runtest b/test/runtest index 64a8e7f37..8d96e13bd 100755 --- a/test/runtest +++ b/test/runtest @@ -4072,7 +4072,7 @@ DIR: for (my $i = 0; $i < @test_dirs; $i++) if (!defined $1 && $? != 0 || defined $1 && $? == 0) { $wantthis = 0; unlink("$parm_cwd/test-config"); - $_ = "$1feature $2"; + $_ = $1 || "" . "feature $2"; last; } unlink("$parm_cwd/test-config");