]> xenbits.xensource.com Git - osstest.git/commitdiff
Executive: Fix an undef warning message
authorIan Jackson <iwj@xenproject.org>
Thu, 1 Oct 2020 14:08:29 +0000 (15:08 +0100)
committerIan Jackson <iwj@xenproject.org>
Thu, 1 Oct 2020 15:38:03 +0000 (16:38 +0100)
$onhost can be undef too

Signed-off-by: Ian Jackson <iwj@xenproject.org>
Osstest/Executive.pm

index 80e7007019df47a9b16b5a7e4d8228faf881f797..a0d9f81e5c04e4302678fe1a0bf8ad416e729303 100644 (file)
@@ -1283,7 +1283,8 @@ END
     return sub {
         my ($job, $hostidname, $onhost, $uptoincl_testid) = @_;
 
-       my $memokey = "$job $hostidname $onhost ".($uptoincl_testid//"");
+       my $memokey = "$job $hostidname "
+         .($onhost//"")." ".($uptoincl_testid//"");
        my $memo = $our_memo->{$memokey};
        return @$memo if $memo;