-
Notifications
You must be signed in to change notification settings - Fork 11
[LTS 8.6] selftests: reuseaddr_conflict: add missing new line at the end of the output #385
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
base: ciqlts8_6
Are you sure you want to change the base?
Conversation
c7851c1
to
4109806
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did this get indented some how?
commit-author Jakub Kicinski <[email protected]>
commit https://github.com/ctrliq/kernel-src-tree/commit/31974122cfdeaf56abc18d8ab740d580d9833e90
I would prefer them to be aligned to start of line.
Otherwise this looks good and I"m glad there is a blank line between the header and the body summary from upstream.
Oops, sorry. No intent for the indent. Let me fix that real quick |
… output commit-author Jakub Kicinski <[email protected]> commit 3197412 The netdev CI runs in a VM and captures serial, so stdout and stderr get combined. Because there's a missing new line in stderr the test ends up corrupting KTAP: # Successok 1 selftests: net: reuseaddr_conflict which should have been: # Success ok 1 selftests: net: reuseaddr_conflict Fixes: 422d8dc ("selftest: add a reuseaddr test") Reviewed-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> (cherry picked from commit 3197412) Signed-off-by: Marcin Wcisło <[email protected]>
4109806
to
a108827
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚤
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥌
[LTS 8.6]
About
This commit fixes bad formatting for the
net:reuseaddr_conflict
test, which prevents automated tools from extracting the test's status.Before:
After:
That it's a proper place for the newline (and not in some script executing the
reuseaddr_conflict
binary, for example) see similar tests from the same collection, eg:kernel-src-tree/tools/testing/selftests/net/reuseport_addr_any.c
Lines 270 to 278 in 499f93a
kernel-src-tree/tools/testing/selftests/net/reuseport_bpf.c
Lines 639 to 640 in 499f93a
PS
Turned out there is already a 3197412 fix in the mainline targeting exactly this issue. Switched to that commit's cherry-pick instead of the manual change.