freebsd-nq/tests/sys
Gleb Smirnoff 80fc25025f tests/net*: destroy interface from inside a jail
There is no guarentee that upon return of 'jail -r' all jail resources
will be released.  The test suite used to rely on that.  Recent changes
to the PCB zones made jails delay releasing their resources, which ended
with interface leak in the test suite.

Fix that by executing 'ifconfig foo0 destroy' inside the jail, instead
of doing 'jail -r' and expecting interfaces to pop up back immediately
in the parent jail.

Reviewed by:		kp
Differential revision:	https://reviews.freebsd.org/D33942
2022-01-24 21:08:03 -08:00
..
acl tests/sys/acl: Add ATF C test for newly added acl_* functions. 2021-08-27 11:52:21 +03:00
aio Temporarily skip flaky tset cases under sys.aio.aio_test in CI 2021-09-29 03:32:47 +08:00
audit swapon(8): adapt to the new swapoff(2) interface 2021-12-09 02:48:59 +02:00
auditpipe
capsicum
cddl
common tests/net*: destroy interface from inside a jail 2022-01-24 21:08:03 -08:00
devrandom
fifo
file vfs: Permit unix sockets to be opened with O_PATH 2021-09-17 14:19:06 -04:00
fs fusefs: implement VOP_DEALLOCATE 2022-01-18 21:13:02 -07:00
geom gmultipath tests: Re-enable the failloop test in CI 2021-10-04 12:28:27 -04:00
kern copyin tests: Use the KERN_PROC_VM_LAYOUT sysctl to fetch layout info 2022-01-17 16:12:43 -05:00
kqueue fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
mac
mqueue
net tests: sys.net.if_bridge_test.span is failing in CI 2021-12-15 18:32:37 -07:00
netgraph Remove riscv workaround in sys.netgraph.hub.loop test 2021-12-05 11:12:40 -04:00
netinet tests/netinet: add test for IPv6 NS and CARP 2022-01-24 21:02:47 -08:00
netinet6 ndp tests: fix cleanup 2021-12-13 18:14:59 +01:00
netipsec
netmap
netpfil tests/net*: destroy interface from inside a jail 2022-01-24 21:08:03 -08:00
opencrypto ossl: Add support for AES-CBC cipher 2021-11-08 10:53:31 +01:00
pjdfstest
posixshm posixshm tests: Fix occasional largepage_mprotect failures 2022-01-03 13:00:50 -05:00
ses Add tests for ses(4) 2022-01-19 12:43:51 -07:00
sys vm_reserv: use enhanced bitstring for popmaps 2022-01-12 11:03:53 -06:00
vfs
vm
vmm
Makefile Add tests for ses(4) 2022-01-19 12:43:51 -07:00
Makefile.depend
Makefile.inc