1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/tests/sys/netinet
Julio Merino 8e79f15196 Make cleanup routines idempotent
cleanup routines can be executed at any point during the execution of the
body, including even before the body has done any real work.  In those
cases, cleanup routines should be careful to not raise spurious errors so
as to not "override" the actual result of the test case.

This is just general good coding style but is not a problem in practice
for these specific tests.  (The way I discovered the issue, though, was
due to a regression I introduced in Kyua itself while refactoring some
internals.)

MFC after:	1 week
2015-07-04 02:22:26 +00:00
..
fibs_test.sh Make cleanup routines idempotent 2015-07-04 02:22:26 +00:00
Makefile Use PROGS instead of PROG and remove unnecessary SRCS?= assignment 2014-11-08 03:20:56 +00:00
udp_dontroute.c Fix unintended KBI change from r264905. Add _fib versions of 2014-05-29 21:03:49 +00:00