svn commit: r342860 - in stable/11: etc/mtree tests/sys tests/sys/netmap
Vincenzo Maffione
vmaffione at FreeBSD.org
Tue Jan 8 09:44:02 UTC 2019
Author: vmaffione
Date: Tue Jan 8 09:44:00 2019
New Revision: 342860
URL: https://svnweb.freebsd.org/changeset/base/342860
Log:
MFC r342649, r342650
netmap: add suite of unit tests
Import the unit tests from upstream (https://github.com/luigirizzo/netmap
ba02539859d46d33), and make them ready for use with Kyua.
There are currently 38 regression tests, which test the kernel control ABI
exposed by netmap to userspace applications:
1: test for port info get
2-5: tests for basic port registration
6-9: tests for VALE
10-11: tests for getting netmap allocator info
12-15: tests for netmap pipes
16: test on polling mode
17-18: tests on options
19-27: tests for sync-kloop subsystem
28-39: tests for null ports
31-38: tests for the legacy NIOCREGIF registers
Reviewed by: ngie
Sponsored by: Sunny Valley Networks
Differential Revision: https://reviews.freebsd.org/D18490
Added:
stable/11/tests/sys/netmap/
- copied from r342649, head/tests/sys/netmap/
Modified:
stable/11/etc/mtree/BSD.tests.dist
stable/11/tests/sys/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/11/etc/mtree/BSD.tests.dist Tue Jan 8 09:41:52 2019 (r342859)
+++ stable/11/etc/mtree/BSD.tests.dist Tue Jan 8 09:44:00 2019 (r342860)
@@ -486,6 +486,8 @@
..
netinet
..
+ netmap
+ ..
opencrypto
..
pjdfstest
Modified: stable/11/tests/sys/Makefile
==============================================================================
--- stable/11/tests/sys/Makefile Tue Jan 8 09:41:52 2019 (r342859)
+++ stable/11/tests/sys/Makefile Tue Jan 8 09:44:00 2019 (r342860)
@@ -16,6 +16,7 @@ TESTS_SUBDIRS+= kqueue
TESTS_SUBDIRS+= mac
TESTS_SUBDIRS+= mqueue
TESTS_SUBDIRS+= netinet
+TESTS_SUBDIRS+= netmap
TESTS_SUBDIRS+= opencrypto
TESTS_SUBDIRS+= posixshm
TESTS_SUBDIRS+= sys
More information about the svn-src-stable
mailing list