linux/tools/testing/selftests/net/mptcp
Geliang Tang 24720d7452 selftests: mptcp: add csum mib check for mptcp_connect
This patch added the data checksum error mib counters check for the
script mptcp_connect.sh when the data checksum is enabled.

In do_transfer(), got the mib counters twice, before and after running
the mptcp_connect commands. The latter minus the former is the actual
number of the data checksum mib counter.

The output looks like this:

ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP   (duration    86ms) [ OK ]
ns1 MPTCP -> ns2 (10.0.2.1:10008      ) MPTCP   (duration    66ms) [ FAIL ]
server got 1 data checksum error[s]

Fixes: 94d66ba1d8 ("selftests: mptcp: enable checksum in mptcp_connect.sh")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/255
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-02-17 19:59:59 -08:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
config selftests: mptcp: add tests for subflow creation failure 2022-01-07 11:27:07 +00:00
diag.sh selftests: mptcp: launch mptcp_connect with timeout 2021-04-02 14:21:50 -07:00
Makefile selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
mptcp_connect.c selftests: mptcp: add disconnect tests 2022-01-07 11:27:07 +00:00
mptcp_connect.sh selftests: mptcp: add csum mib check for mptcp_connect 2022-02-17 19:59:59 -08:00
mptcp_inq.c selftests: mptcp: remove duplicate include in mptcp_inq.c 2021-12-10 11:00:32 -08:00
mptcp_join.sh selftests: mptcp: join: check for tools only if needed 2022-02-17 19:59:59 -08:00
mptcp_sockopt.c selftests: mptcp: check IP_TOS in/out are the same 2021-12-07 11:36:30 -08:00
mptcp_sockopt.sh selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
pm_netlink.sh selftests: mptcp: add set_flags tests in pm_netlink.sh 2022-02-04 20:30:24 -08:00
pm_nl_ctl.c selftests: mptcp: add the id argument for set_flags 2022-02-04 20:30:24 -08:00
settings selftests: mptcp: increase timeout to 20 minutes 2022-02-17 19:59:58 -08:00
simult_flows.sh selftests: mptcp: more stable simult_flows tests 2021-11-01 13:19:49 +00:00