Skip to contentSkip to conversation

selftests: net: enable bind tests

PATCH Applied Jamie Bainbridge 5 participants 6 messages Sep 4, 2024 – Sep 6, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: net: enable bind tests

bind_wildcard is compiled but not run, bind_timewait is not compiled.

These two tests complete in a very short time, use the test harness properly, and seem reasonable to enable.

The author of the tests confirmed via email that these were intended to be run.

Enable these two tests.

Fixes 13715acf8ab5 ("selftest: Add test for bind() conflicts.")
Fixes 2c042e8e54ef ("tcp: Add selftest for bind() and TIME_WAIT.")
---
 tools/testing/selftests/net/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/testing/selftests/net/Makefile +2 -1
index 8eaffd7a641c5d6bb5c63e3015fdd9f32c114550..9d5aa817411b653ac130a1a581d933180a597ce5 100644
@@ -85,7 +85,8 @@ TEST_GEN_PROGS += so_incoming_cpu
 TEST_PROGS += sctp_vrf.sh
 TEST_GEN_FILES += sctp_hello
 TEST_GEN_FILES += ip_local_port_range
-TEST_GEN_FILES += bind_wildcard
+TEST_GEN_PROGS += bind_wildcard
+TEST_GEN_PROGS += bind_timewait
 TEST_PROGS += test_vxlan_mdb.sh
 TEST_PROGS += test_bridge_neigh_suppress.sh
 TEST_PROGS += test_vxlan_nolocalbypass.sh
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jamie Bainbridge

bind_wildcard is compiled but not run, bind_timewait is not compiled.

These two tests complete in a very short time, use the test harness properly, and seem reasonable to enable.

Quoted 8 lines

The author of the tests confirmed via email that these were intended to be run.

Enable these two tests.

Fixes 13715acf8ab5 ("selftest: Add test for bind() conflicts.")
Fixes 2c042e8e54ef ("tcp: Add selftest for bind() and TIME_WAIT.")
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jamie Bainbridge

From: Jamie Bainbridge <[email protected]>
Date: Wed, 4 Sep 2024 16:12:26 +1000

Quoted 5 lines

bind_wildcard is compiled but not run, bind_timewait is not compiled.

These two tests complete in a very short time, use the test harness properly, and seem reasonable to enable.

Quoted 8 lines

The author of the tests confirmed via email that these were intended to be run.

Enable these two tests.

Fixes 13715acf8ab5 ("selftest: Add test for bind() conflicts.")
Fixes 2c042e8e54ef ("tcp: Add selftest for bind() and TIME_WAIT.")

Thanks!

Quoted 21 lines
---
 tools/testing/selftests/net/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/testing/selftests/net/Makefile +2 -1
index 8eaffd7a641c5d6bb5c63e3015fdd9f32c114550..9d5aa817411b653ac130a1a581d933180a597ce5 100644
@@ -85,7 +85,8 @@ TEST_GEN_PROGS += so_incoming_cpu
 TEST_PROGS += sctp_vrf.sh
 TEST_GEN_FILES += sctp_hello
 TEST_GEN_FILES += ip_local_port_range
-TEST_GEN_FILES += bind_wildcard
+TEST_GEN_PROGS += bind_wildcard
+TEST_GEN_PROGS += bind_timewait
 TEST_PROGS += test_vxlan_mdb.sh
 TEST_PROGS += test_bridge_neigh_suppress.sh
 TEST_PROGS += test_vxlan_nolocalbypass.sh
Signature · 1 line
2.39.2
#3 lore raw
In reply to Jamie Bainbridge
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 4 Sep 2024 16:12:26 +1000 you wrote:

bind_wildcard is compiled but not run, bind_timewait is not compiled.

These two tests complete in a very short time, use the test harness properly, and seem reasonable to enable.

The author of the tests confirmed via email that these were intended to be run.

[...]

Here is the summary with links:
- [net] selftests: net: enable bind tests

    https://git.kernel.org/netdev/net/c/e4af74a53b7a

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#4 lore raw

PATCH 1/1 selftests: net: enable bind tests

In reply to Jamie Bainbridge

From: Jamie Bainbridge <[email protected]>

========= Please ignore, this is a test for b4 shazam =========

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 7b60eb103c5d..e1fa1b98a034 100644
@@ -3,7 +3,7 @@ VERSION = 6
 PATCHLEVEL = 11
 SUBLEVEL = 0
 EXTRAVERSION = -rc5
-NAME = Baby Opossum Posse
+NAME = B4 rocks
 
 # *DOCUMENTATION*
 # To see a list of typical targets execute "make help"
Signature · 1 line
2.45.2
#5 lore raw

PATCH v2 1/1 selftests: net: enable bind tests

In reply to Jamie Bainbridge

From: Jamie Bainbridge <[email protected]>

========= Please ignore, this is a test for b4 shazam =========

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 7b60eb103c5d..e1fa1b98a034 100644
@@ -3,7 +3,7 @@ VERSION = 6
 PATCHLEVEL = 11
 SUBLEVEL = 0
 EXTRAVERSION = -rc5
-NAME = Baby Opossum Posse
+NAME = B4 rocks
 
 # *DOCUMENTATION*
 # To see a list of typical targets execute "make help"
Signature · 1 line
2.45.2