From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: davem@davemloft.net, shuah@kernel.org
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-kselftest@vger.kernel.org,
Corentin Labbe <clabbe.montjoie@gmail.com>
Subject: [PATCH] selftests: add a generic testsuite for ethernet device
Date: Fri, 31 Mar 2017 14:57:51 +0200 [thread overview]
Message-ID: <20170331125752.20074-1-clabbe.montjoie@gmail.com> (raw)
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
next reply other threads:[~2017-03-31 13:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 12:57 Corentin Labbe [this message]
2017-03-31 12:57 ` [PATCH] selftests: add a generic testsuite for ethernet device Corentin Labbe
2017-03-31 14:12 ` Andrew Lunn
2017-04-03 13:15 ` Corentin Labbe
2017-04-03 13:27 ` Andrew Lunn
2017-04-04 7:56 ` Corentin Labbe
2017-04-04 12:22 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170331125752.20074-1-clabbe.montjoie@gmail.com \
--to=clabbe.montjoie@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.