[PATCH] selftests: add a generic testsuite for ethernet device

From: Corentin Labbe
Date: Fri Mar 31 2017 - 09:01:21 EST


Hello

My original intent was to add network test to the kernelci project.
Since they use kselftests, they forwarded me to this.

This patch add a basic network test suite which do:
- bring up netdev
- change mac address
- try some ethtool commands
- bring down netdev

The test is non disruptive, so that an already used network interface will
not be modified (mac/IP address for example).

Regards

Corentin Labbe (1):
selftests: add a generic testsuite for ethernet device

tools/testing/selftests/net/Makefile | 2 +-
tools/testing/selftests/net/netdevice.sh | 185 +++++++++++++++++++++++++++++++
2 files changed, 186 insertions(+), 1 deletion(-)
create mode 100755 tools/testing/selftests/net/netdevice.sh

--
2.10.2