Skip to content

contest: vmksft-p: allow dup spaces in nested tests #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2024

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 <kuba@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
@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