[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 30/60] parallel by fork: Fix a variable name to $task
This code came from sg-report-host-history where tasks were hosts. But in the more general context, the names are wrong. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- Osstest/HistoryReport.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Osstest/HistoryReport.pm b/Osstest/HistoryReport.pm index f0571189..695d744a 100644 --- a/Osstest/HistoryReport.pm +++ b/Osstest/HistoryReport.pm @@ -226,13 +226,13 @@ sub wait_for_max_children ($) { while (keys(%children) > $lim) { $!=0; $?=0; my $got = wait; die "$! $got $?" unless exists $children{$got}; - my $host = $children{$got}; + my $task = $children{$got}; delete $children{$got}; $worst = $? if $? > $worst; if ($?) { - print STDERR $whoami."[$$]: [$got] failed for $host: $?\n"; + print STDERR $whoami."[$$]: [$got] failed for $task: $?\n"; } else { - print ::DEBUG "REAPED [$got] $host\n"; + print ::DEBUG "REAPED [$got] $task\n"; } } } -- 2.11.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |