Module: tools
Branch: master
Commit: 8966e476e7cde192cc8e205962aa9cf46279e3b6
URL: https://gitlab.winehq.org/winehq/tools/-/commit/8966e476e7cde192cc8e205962a…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Jul 27 10:49:26 2022 +0200
testbot: Don't cleanup the winetest-latest URL files.
---
testbot/bin/Janitor.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index 839e1a94..069ffb76 100755
--- a/testbot/bin/Janitor.pl
+++ b/testbot/bin/Janitor.pl
@@ -296,7 +296,7 @@ if (opendir(my $dh, "$DataDir/staging"))
# So just delete them silently after a day.
$TTL = 1 - $Age;
}
- elsif ($Entry =~ /^[0-9a-f]{32}_(?:patch\.diff|patchset\.diff|email|winetest(?:64)?-latest\.exe|work)$/)
+ elsif ($Entry =~ /^[0-9a-f]{32}_(?:patch\.diff|patchset\.diff|email|winetest(?:64)?-latest\.(?:exe|url)|work)$/)
{
# Janitor can only see these files if it ran during the brief interval
# between their creation and them being moved out of staging, or if
@@ -339,7 +339,7 @@ if (opendir(my $dh, "$DataDir/latest"))
next if ($Entry =~ /^TestAgentd(?:32|64)\.exe$/);
# Needed to run the tests
next if ($Entry =~ /^TestLauncher(?:32|64)\.exe$/);
- next if ($Entry =~ /^winetest(?:64)?-latest\.exe$/);
+ next if ($Entry =~ /^winetest(?:64)?-latest\.(?:exe|url)$/);
$Entry =~ m%^([^/]+)$%; # untaint
my $FileName = "$DataDir/latest/$1";