freebsd-skq/tests/sys
bz 7aa807c3cb frag6: import a set of test cases
In order to ensure that changing the frag6 code does not change behaviour
or break code a set of test cases were implemented.

Like some other test cases these use Scapy to generate packets and possibly
wait for expected answers.  In most cases we do check the global and
per interface (netstat) statistics output using the libxo output and grep
to validate fields and numbers.  This is a bit hackish but we currently have
no better way to match a selected number of stats only (we have to ignore
some of the ND6 variables; otherwise we could use the entire list).

Test cases include atomic fragments, single fragments, multi-fragments,
and try to cover most error cases in the code currently.
In addition vnet teardown is tested to not panic.

A separate set (not in-tree currently) of probes were used in order to
make sure that the test cases actually test what they should.

The "sniffer" code was copied and adjusted from the netpfil version
as we sometimes will not get packets or have longer timeouts to deal with.

Sponsored by:	Netflix
2019-10-21 09:33:45 +00:00
..
acl Set required program for all acl tests 2019-09-05 18:54:46 +00:00
aio
audit
auditpipe
capsicum
cddl zfs: multiple improvements to the zpool_add tests 2019-10-10 02:17:45 +00:00
common pkgbase: Put the sys/common test into the tests package 2019-09-05 14:14:07 +00:00
devrandom
fifo
file
fs fusefs: initialize C++ classes the Coverity way 2019-09-16 15:56:21 +00:00
geom
kern coredump_phnum_test: handle full file system gracefully 2019-10-11 21:23:46 +00:00
kqueue
mac
mqueue
net tests: basic VLAN test 2019-10-15 04:50:08 +00:00
netinet
netinet6 frag6: import a set of test cases 2019-10-21 09:33:45 +00:00
netipsec
netmap
netpfil Temporarily skip sys.netpfil.common.tos.pf_tos on i386 CI as it always fails 2019-09-17 22:09:14 +00:00
opencrypto tests/sys/opencrypto: enable armv8crypto on aarch64 2019-08-10 15:53:42 +00:00
pjdfstest
posixshm shm_open2(2): completely unbreak 2019-10-02 02:37:34 +00:00
sys Introduce arb(3), the Array-based Red-Black Tree macros: similar 2019-09-14 19:23:46 +00:00
vfs
vm Adjust tests after page fault changes in r352807 2019-09-29 15:17:58 +00:00
Makefile frag6: import a set of test cases 2019-10-21 09:33:45 +00:00
Makefile.depend
Makefile.inc