selftests: mptcp: add mptcp_info tests
authorGeliang Tang <geliang.tang@suse.com>
Mon, 27 Mar 2023 10:22:24 +0000 (12:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2023 08:01:28 +0000 (09:01 +0100)
commit9095ce97bf8a4f5123dc9dbfd1cabcf2a78f5883
tree6c11fd26c7638ae0079313f4f86288f8c08e1544
parente925a0322ada48a3bfdfaf37be46945af3ad6e2e
selftests: mptcp: add mptcp_info tests

This patch adds the mptcp_info fields tests in endpoint_tests(). Add a
new function chk_mptcp_info() to check the given number of the given
mptcp_info field.

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/330
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh