From da1702c0e2fd5b5b4300bbae3f21db7ac5d74198 Mon Sep 17 00:00:00 2001 From: Andrew Aitchison Date: Fri, 17 Mar 2023 12:19:48 +0000 Subject: [PATCH] Testsuite: tidy use of undef'd var --- test/runtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2