[firefly] [PATCH 0/3] selftest: Introduce test abstraction for net
Alexandru Copot
alex.mihai.c at gmail.com
Sat Apr 6 20:46:35 EEST 2013
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 at gmail.com>
CC: Daniel Baluta <daniel.baluta at gmail.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
More information about the firefly
mailing list