Add one more test for completeness, since this occurs commonly. Signed-off-by: Simon Glass <s...@chromium.org> ---
tools/patman/func_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index da81101ea93..55abf52bdb5 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -877,6 +877,14 @@ diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c self.assertEqual(None, patch.prefix) self.assertEqual(None, patch.version) + # With PATCH prefix + patch.parse_subject('[PATCH,2/5] Testing') + self.assertEqual('Testing', patch.subject) + self.assertEqual(2, patch.seq) + self.assertEqual(5, patch.count) + self.assertEqual('PATCH', patch.prefix) + self.assertEqual(None, patch.version) + # RFC patch patch.parse_subject('[RFC,3/7] Testing') self.assertEqual('Testing', patch.subject) -- 2.43.0