selftests: mptcp: dump more info on errors
authorPaolo Abeni <pabeni@redhat.com>
Fri, 12 Feb 2021 23:20:27 +0000 (15:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:20:34 +0000 (16:20 -0800)
commit767389c8dd55f8d97aa9ec2ce4165c26dea31fdd
tree6b658cd2689364d3485d1ac00d02f56e90e93590
parentc3ff3b02e99c691197a05556ef45f5c3dd2ed3d6
selftests: mptcp: dump more info on errors

Even if that may sound completely unlikely, the mptcp implementation
is not perfect, yet.

When the self-tests report an error we usually need more information
of what the scripts currently report. iproute allow provides
some additional goodies since a few releases, let's dump them.

Signed-off-by: Paolo Abeni <pabeni@redhat.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_connect.sh