freebsd-dev/tests/sys/common
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
..
divert.py tests/divert: fix after 2ce85919bb (IP source address validation) 2021-11-12 11:20:06 -08:00
Makefile Add tests verifying IPv4/IPv6 output for TCP/UDP/raw paths. 2020-03-23 12:21:32 +00:00
net_receiver.py Add tests verifying IPv4/IPv6 output for TCP/UDP/raw paths. 2020-03-23 12:21:32 +00:00
sender.py tests: Only log critical errors from scapy 2021-05-12 20:54:30 +02:00
vnet.subr tests/net*: destroy interface from inside a jail 2022-01-24 21:08:03 -08:00