Skip to content

Commit 57605ae

Browse files
minakuba-moo
authored andcommitted
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 <almasrymina@google.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20250523230524.1107879-6-almasrymina@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 12d3114 commit 57605ae

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/drivers/net/hw

1 file changed

+1
-1
lines changed

tools/testing/selftests/drivers/net/hw/devmem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def check_rx(cfg) -> None:
2626
port = rand_port()
2727
listen_cmd = f"{cfg.bin_local} -l -f {cfg.ifname} -s {cfg.addr} -p {port}"
2828

29-
with bkg(listen_cmd) as ncdevmem:
29+
with bkg(listen_cmd, exit_wait=True) as ncdevmem:
3030
wait_port_listen(port)
3131
cmd(f"echo -e \"hello\\nworld\"| socat -u - TCP{cfg.addr_ipver}:{cfg.addr}:{port}", host=cfg.remote, shell=True)
3232

0 commit comments

Comments
 (0)