Skip to content

Conversation

matttbe
Copy link
Member

@matttbe matttbe commented Sep 4, 2024

Jakub recently reported that MPTCP nested tests were not properly parsed due to the presence of multiple whitespaces before the directive delimiter (#), e.g.

ok 46 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10043      ) TCP   # time=5693ms

TAP 14 explicitly allow having multiple whitespaces around the directive delimiter, but TAP 13 and KTAP doesn't mention anything about them. Anyway, it is easy to supported them by tweaking the regex to allow multiple whitespaces around the # character.

Suggested-by: Jakub Kicinski

Jakub recently reported that MPTCP nested tests were not properly parsed
due to the presence of multiple whitespaces before the directive
delimiter (#), e.g.

  ok 46 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10043      ) TCP   # time=5693ms

TAP 14 explicitly allow having multiple whitespaces around the directive
delimiter, but TAP 13 and KTAP doesn't mention anything about them.
Anyway, it is easy to supported them by tweaking the regex to allow
multiple whitespaces around the '#' character.

Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
@matttbe matttbe requested a review from kuba-moo September 4, 2024 16:26
@kuba-moo kuba-moo merged commit d334e52 into linux-netdev:main Sep 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants