[tools] testbot: Shorten the "No patch found" disposition name.
Francois Gouget
fgouget at codeweavers.com
Thu Apr 21 08:57:29 CDT 2022
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/Patches.pm | 2 +-
testbot/tests/TestWTBS | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index d2ac52e4e..c0768bea7 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -550,7 +550,7 @@ sub NewPatch($$;$)
my $SubjectInfo = $Patch->ParseSubject();
if (@PatchBodies == 0)
{
- $Patch->Disposition("No patch found");
+ $Patch->Disposition("No patch");
}
elsif (@PatchBodies > 1)
{
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS
index 8067a62e5..e5cd44832 100755
--- a/testbot/tests/TestWTBS
+++ b/testbot/tests/TestWTBS
@@ -1460,7 +1460,7 @@ sub CheckPatches()
{
ok(($Patch->Subject =~ /NoPatch/ or
$Patch->Disposition eq "Reply to a patch series" or
- $Patch->Disposition eq "No patch found"),
+ $Patch->Disposition eq "No patch"),
"Found no file for patch ". $Patch->Id .": ". $Patch->Subject)
or diag("Disposition=". $Patch->Disposition);
}
--
2.30.2
More information about the wine-devel
mailing list