mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-23 02:51:47 +00:00
selftests: reuseaddr_conflict: add missing new line at the end of the output
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: 422d8dc6fd
("selftest: add a reuseaddr test")
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240329160559.249476-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
96c155943a
commit
31974122cf
1 changed files with 1 additions and 1 deletions
|
@ -109,6 +109,6 @@ int main(void)
|
|||
fd1 = open_port(0, 1);
|
||||
if (fd1 >= 0)
|
||||
error(1, 0, "Was allowed to create an ipv4 reuseport on an already bound non-reuseport socket with no ipv6");
|
||||
fprintf(stderr, "Success");
|
||||
fprintf(stderr, "Success\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue