Module: tools Branch: master Commit: 37c48af98dbce0245404d706edff84b9e3c4aec0 URL: https://source.winehq.org/git/tools.git/?a=commit;h=37c48af98dbce0245404d706...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Sep 26 09:32:50 2018 +0200
testbot/WineSendLog: Fix the reference log path.
Use the same reference logs that JobDetails uses. $RefFileName was missing a slash anyway.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 36d47c3..bb6dab5 100755 --- a/testbot/bin/WineSendLog.pl +++ b/testbot/bin/WineSendLog.pl @@ -287,7 +287,7 @@ EOF foreach my $LogName (@{$JobErrors->{$Key}->{LogNames}}) { my $LogErrors = $JobErrors->{$Key}->{$LogName}; - my $RefFileName = "$DataDir/latest". $StepTask->VM->Name ."_$LogName"; + my $RefFileName = $StepTask->GetFullFileName($StepTask->VM->Name ."_$LogName"); my ($NewGroups, $NewErrors, $_NewIndices) = GetNewLogErrors($RefFileName, $LogErrors->{Groups}, $LogErrors->{Errors}); if (!$NewGroups) {