diff options
author | Andrew Aitchison <exim@aitchison.me.uk> | 2023-03-17 12:19:48 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-03-17 12:19:48 +0000 |
commit | da1702c0e2fd5b5b4300bbae3f21db7ac5d74198 (patch) | |
tree | d86ebd3326821e722e44caee4d6f96f3bb3dc9df | |
parent | 35d78f064b4e9f3ec28481e5e842c33a68171721 (diff) |
Testsuite: tidy use of undef'd var
-rwxr-xr-x | test/runtest | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |