From: Francois Gouget Subject: [Tools] testbot/WineSendLog: Simplify the detection of timeout errors. Message-Id: Date: Mon, 20 Mar 2017 23:57:22 +0100 (CET) Signed-off-by: Francois Gouget --- 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"; } -- 2.11.0