Module: tools Branch: master Commit: 9e394a2ffaba165a53c5a7af10c9fbeff399f6f8 URL: https://source.winehq.org/git/tools.git/?a=commit;h=9e394a2ffaba165a53c5a7af...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Feb 16 15:54:57 2021 +0100
testbot/TestWTBS: There is no file for the "No patch found" disposition.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/tests/TestWTBS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS index dbd1130..8a77b00 100755 --- a/testbot/tests/TestWTBS +++ b/testbot/tests/TestWTBS @@ -1382,7 +1382,9 @@ sub CheckPatches() } elsif ($Patch->Subject =~ /\bWTBS\b/) { - ok(($Patch->Subject =~ /NoPatch/ or $Patch->Disposition eq "Reply to a patch series"), + ok(($Patch->Subject =~ /NoPatch/ or + $Patch->Disposition eq "Reply to a patch series" or + $Patch->Disposition eq "No patch found"), "Found no file for patch ". $Patch->Id .": ". $Patch->Subject) or diag("Disposition=". $Patch->Disposition); }