aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/devmem.py
diff options
context:
space:
mode:
authorMina Almasry <[email protected]>2025-05-23 23:05:21 +0000
committerJakub Kicinski <[email protected]>2025-05-28 02:19:35 +0000
commit57605ae8e1b61be0029b4ff39298e6eaef824948 (patch)
tree765239336508b16fde9711c43e79f7fd1c3d3d6b /tools/testing/selftests/drivers/net/hw/devmem.py
parentnet: devmem: ksft: add ipv4 support (diff)
downloadkernel-57605ae8e1b61be0029b4ff39298e6eaef824948.tar.gz
kernel-57605ae8e1b61be0029b4ff39298e6eaef824948.zip
net: devmem: ksft: add exit_wait to make rx test pass
This exit_wait seems necessary to make the rx side test pass for me. I think this is just missed from the original test add patch. Add it now. Signed-off-by: Mina Almasry <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/devmem.py')
-rwxr-xr-xtools/testing/selftests/drivers/net/hw/devmem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/hw/devmem.py b/tools/testing/selftests/drivers/net/hw/devmem.py
index 6ff6421979fe..6c743bc2ab39 100755
--- a/tools/testing/selftests/drivers/net/hw/devmem.py
+++ b/tools/testing/selftests/drivers/net/hw/devmem.py
@@ -26,7 +26,7 @@ def check_rx(cfg) -> None:
port = rand_port()
listen_cmd = f"{cfg.bin_local} -l -f {cfg.ifname} -s {cfg.addr} -p {port}"
- with bkg(listen_cmd) as ncdevmem:
+ with bkg(listen_cmd, exit_wait=True) as ncdevmem:
wait_port_listen(port)
cmd(f"echo -e \"hello\\nworld\"| socat -u - TCP{cfg.addr_ipver}:{cfg.addr}:{port}", host=cfg.remote, shell=True)