[PATCH] testbot/WineSendLog: Sort the tasks in numeric order.
Francois Gouget
fgouget at codeweavers.com
Fri Jul 20 02:01:34 CDT 2018
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/bin/WineSendLog.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index e2c823a91..8885e20f3 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -214,7 +214,7 @@ sub SendLog($)
}
my $StepsTasks = CreateStepsTasks(undef, $Job);
- my @SortedKeys = sort @{$StepsTasks->GetKeys()};
+ my @SortedKeys = sort { $a <=> $b } @{$StepsTasks->GetKeys()};
my $JobURL = ($UseSSL ? "https://" : "http://") .
"$WebHostName/JobDetails.pl?Key=". $Job->GetKey();
--
2.18.0
More information about the wine-devel
mailing list