selftests: add rtnetlink test script
authorFlorian Westphal <fw@strlen.de>
Thu, 10 Aug 2017 14:53:02 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 16:50:22 +0000 (09:50 -0700)
commit33b01b7b4f19f82198a298936de225eef942fc7c
tree0059c050729eacf01ebc6bb3691b46343ddab376
parent8caa38b56c56ef48af48f8c70fcd7cb4580e0c24
selftests: add rtnetlink test script

add a simple script to exercise some rtnetlink call paths, so KASAN,
lockdep etc. can yell at developer before patches are sent upstream.

This can be extended to also cover bond, team, vrf and the like.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/rtnetlink.sh [new file with mode: 0755]