selftests: mptcp: add MP_FAIL mibs check
authorGeliang Tang <geliangtang@xiaomi.com>
Tue, 24 Aug 2021 23:26:19 +0000 (16:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 10:02:35 +0000 (11:02 +0100)
commit6bb3ab4913e97b083561d22f5afe1124b7ec4954
tree6cdc228b9c8f136dae2c952e1382969770778ed2
parenteb7f33654dc146aeb1ff245dae6e48b759dd8985
selftests: mptcp: add MP_FAIL mibs check

This patch added a function chk_fail_nr to check the mibs for MP_FAIL.

Signed-off-by: Geliang Tang <geliangtang@xiaomi.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh