All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3 net-next RFC] selftest: Introduce test abstraction for net
@ 2013-04-09 10:30 Alexandru Copot
  2013-04-09 10:30 ` [PATCH 1/3 net-next RFC] selftest: add abstractions for net selftests Alexandru Copot
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Alexandru Copot @ 2013-04-09 10:30 UTC (permalink / raw)
  To: netdev, davem; +Cc: willemb, dborkman, edumazet, Alexandru Copot, Daniel Baluta

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@gmail.com>
Cc: Daniel Baluta <dbaluta@ixiacom.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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-09 13:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09 10:30 [PATCH 0/3 net-next RFC] selftest: Introduce test abstraction for net Alexandru Copot
2013-04-09 10:30 ` [PATCH 1/3 net-next RFC] selftest: add abstractions for net selftests Alexandru Copot
2013-04-09 11:13   ` Daniel Borkmann
2013-04-09 11:24     ` Alexandru Copot
2013-04-09 11:32       ` Daniel Borkmann
2013-04-09 13:39   ` Sergei Shtylyov
2013-04-09 13:54     ` Daniel Borkmann
2013-04-09 10:31 ` [PATCH 2/3 net-next RFC] selftest: Adapt socket test to new testing framework Alexandru Copot
2013-04-09 10:31 ` [PATCH net-next RFC] selftests: add socket options test with IPv6 testcases Alexandru Copot
2013-04-09 11:22 ` [PATCH 0/3 net-next RFC] selftest: Introduce test abstraction for net Daniel Borkmann

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.