[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1365503461-26309-1-git-send-email-alex.mihai.c@gmail.com>
Date: Tue, 9 Apr 2013 13:30:58 +0300
From: Alexandru Copot <alex.mihai.c@...il.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: willemb@...gle.com, dborkman@...hat.com, edumazet@...gle.com,
Alexandru Copot <alex.mihai.c@...il.com>,
Daniel Baluta <dbaluta@...acom.com>
Subject: [PATCH 0/3 net-next RFC] selftest: Introduce test abstraction for net
This series adds a generic test abstraction that can make
writing testcases easier. A generic_test structure is
used to define a test and its methods.
The second patch updates the socket tests to use the
new framework, and the third patch creates new tests
for [set/get]sockopt with some IPV6_* options.
Signed-of by Alexandru Copot <alex.mihai.c@...il.com>
Cc: Daniel Baluta <dbaluta@...acom.com>
Alexandru Copot (3):
selftest: add abstractions for net selftests
selftest: update socket tests to use the testing abstractions
selftests: add socket options test with IPv6 testcases
tools/testing/selftests/net/Makefile | 7 +-
tools/testing/selftests/net/run_netsocktests | 10 ++
tools/testing/selftests/net/selftests.c | 25 ++++
tools/testing/selftests/net/selftests.h | 42 +++++++
tools/testing/selftests/net/socket.c | 107 +++++++++++-----
tools/testing/selftests/net/sockopt.c | 179 +++++++++++++++++++++++++++
6 files changed, 338 insertions(+), 32 deletions(-)
create mode 100644 tools/testing/selftests/net/selftests.c
create mode 100644 tools/testing/selftests/net/selftests.h
create mode 100644 tools/testing/selftests/net/sockopt.c
--
1.8.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists