Re: [PATCH v3 1/2] kunit: tool: Fix bug in parsing test plan
From: David Gow
Date: Fri Mar 14 2025 - 01:37:32 EST
On Fri, 14 Mar 2025 at 03:27, Rae Moar <rmoar@xxxxxxxxxx> wrote:
>
> A bug was identified where the KTAP below caused an infinite loop:
>
> TAP version 13
> ok 4 test_case
> 1..4
>
> The infinite loop was caused by the parser not parsing a test plan
> if following a test result line.
>
> Fix this bug by parsing test plan line to avoid the infinite loop.
>
> Signed-off-by: Rae Moar <rmoar@xxxxxxxxxx>
> ---
Reviewed-by: David Gow <davidgow@xxxxxxxxxx>
Cheers,
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature