]> xenbits.xensource.com Git - osstest.git/commitdiff
Executive: fix up sharing check flight-16202
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 14 Feb 2013 19:31:24 +0000 (19:31 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 14 Feb 2013 19:31:24 +0000 (19:31 +0000)
Reinstates
 7b69d0fac4912f077c5ecc53088b0272d9a6b0bb
which was lost during the merge

Osstest/JobDB/Executive.pm

index a06eb6398c40f7eb7281f494f5637ba792e94d63..ba51bdfce3ca62175c99f1d387b0791091385f07 100644 (file)
@@ -129,7 +129,7 @@ sub host_check_allocated ($$) { #method
         $ho->{Shared}{State} eq 'ready';
     $ho->{SharedReady}=
        $ho->{SharedMaybeOthers} &&
-        !! (grep { $_ eq "share-".$ho->{Shared}{Type} }
+        !! (grep { $_." ".get_harness_rev() eq "share-".$ho->{Shared}{Type} }
            get_hostflags($ho->{Ident}));
     $ho->{SharedOthers}=
         $ho->{Shared} ? $ho->{Shared}{Others} : 0;