OSDN Git Service

selftests: pmtu: Add optional traffic captures for single tests
authorStefano Brivio <sbrivio@redhat.com>
Fri, 12 Oct 2018 21:54:14 +0000 (23:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:37:28 +0000 (22:37 -0700)
commitbb059fb20447c869970ebd296010c1a822706c58
tree70918ca5b1d1c429e3428b1dd88906e9bd2d58d7
parent55bbc8ff4987d05b7d2f2d513caabd0a58fec021
selftests: pmtu: Add optional traffic captures for single tests

If --trace is passed as an option and tcpdump is available,
capture traffic for all relevant interfaces to per-test pcap
files named <test>_<interface>.pcap.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh