mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
selftests: drv-net: gro: use cmd print
Now that cmd() can be printed directly remove the old formatting.
Before:
# fragmented ip6 doesn't coalesce:
# Expected {200 100 100 }, Total 3 packets
# Received {200 100 }, Total 2 packets.
# /root/ksft-net-drv/drivers/net/gro: incorrect number of packets
Now:
# CMD: drivers/net/gro --ipv6 --dmac 9e:[...]
# EXIT: 1
# STDOUT: fragmented ip6 doesn't coalesce:
# STDERR: Expected {200 100 100 }, Total 3 packets
# Received {200 100 }, Total 2 packets.
# /root/ksft-net-drv/drivers/net/gro: incorrect number of packets
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20260113000740.255360-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
ce0f92dc73
commit
d131da6d72
|
|
@ -142,8 +142,7 @@ def test(cfg, protocol, test_name):
|
|||
if rx_proc.ret == 0:
|
||||
return
|
||||
|
||||
ksft_pr(rx_proc.stdout.strip().replace('\n', '\n# '))
|
||||
ksft_pr(rx_proc.stderr.strip().replace('\n', '\n# '))
|
||||
ksft_pr(rx_proc)
|
||||
|
||||
if test_name == "large" and os.environ.get("KSFT_MACHINE_SLOW"):
|
||||
ksft_pr(f"Ignoring {protocol}/{test_name} failure due to slow environment")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user