mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 15:51:30 -05:00
selftests: net: fix grammar in reuseaddr_ports_exhausted.c log message
This patch fixes a grammatical error in a test log message in reuseaddr_ports_exhausted.c for better clarity. Signed-off-by: Pranav Tyagi <pranav.tyagi03@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250213152612.4434-1-pranav.tyagi03@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
fe3340a94a
commit
dbcbec81c9
@@ -112,7 +112,7 @@ TEST(reuseaddr_ports_exhausted_reusable_same_euid)
|
||||
ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind.");
|
||||
|
||||
if (opts->reuseport[0] && opts->reuseport[1]) {
|
||||
EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind because both sockets succeed to be listened.");
|
||||
EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind because both sockets successfully listened.");
|
||||
} else {
|
||||
EXPECT_NE(-1, fd[1]) TH_LOG("should succeed to bind to connect to different destinations.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user