Module: tools Branch: master Commit: 349eb70c3d21809d613f8f3cc15322b7a14da332 URL: http://source.winehq.org/git/tools.git/?a=commit;h=349eb70c3d21809d613f8f3cc...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Mar 20 23:57:22 2017 +0100
testbot/WineSendLog: Simplify the detection of timeout errors.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/WineSendLog.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl index 983ae37..922811d 100755 --- a/testbot/bin/WineSendLog.pl +++ b/testbot/bin/WineSendLog.pl @@ -104,8 +104,7 @@ sub ReadLog($$$) $Line =~ s/[\r\n]*$//; if ($Line =~ m/${BaseName}:${TestSet} done/) { - if ($Line =~ m/${BaseName}:${TestSet} done ((\d+))/ && - $1 eq "258") + if ($Line =~ m/${BaseName}:${TestSet} done (258)/) { $Messages[@Messages] = "The test timed out"; }