freebsd-src/tests/sys/netinet
Alan Somers ddc5034c27 MFC r285117
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
2017-04-18 16:17:38 +00:00
..
fibs_test.sh MFC r285117 2017-04-18 16:17:38 +00:00
Makefile MFC r264400,r265836: 2014-12-31 23:25:37 +00:00
udp_dontroute.c MFC changes relating to running multiple interfaces on different fibs but 2014-06-06 20:35:40 +00:00