]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: reuseaddr_conflict: add missing new line at the end of the output
authorJakub Kicinski <kuba@kernel.org>
Fri, 29 Mar 2024 16:05:59 +0000 (09:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 10:50:13 +0000 (12:50 +0200)
commitd6c0a37d412657cf2661996387340e8afeb82a63
tree9cfe306b1cac502d9ece9b38b81c278b8c58fd41
parentc5dd42e0c490416e45fac594694cbc0ada0ea0f9
selftests: reuseaddr_conflict: add missing new line at the end of the output

commit 31974122cfdeaf56abc18d8ab740d580d9833e90 upstream.

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: 422d8dc6fd3a ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/reuseaddr_conflict.c