[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170331125752.20074-1-clabbe.montjoie@gmail.com>
Date: Fri, 31 Mar 2017 14:57:51 +0200
From: Corentin Labbe <clabbe.montjoie@...il.com>
To: davem@...emloft.net, shuah@...nel.org
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Corentin Labbe <clabbe.montjoie@...il.com>
Subject: [PATCH] selftests: add a generic testsuite for ethernet device
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
Powered by blists - more mailing lists