]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341835:
authorKristof Provost <kp@FreeBSD.org>
Tue, 25 Dec 2018 11:08:53 +0000 (11:08 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 25 Dec 2018 11:08:53 +0000 (11:08 +0000)
commit8aa3842f95142b05da6e905f7093cd3f6a29d3af
tree64a7aaaf08f02f910abaff2418ff6c05582011e1
parent4ca4593c516d36427799e8edbf8d4ab0a9ded9cc
MFC r341835:

pf tests: Use the ATF cleanup infrastructure in the ioctl tests

Use ATF_TC_CLEANUP(), because that means the cleanup code will get
called even if a test fails. Before it would only be executed if every
test within the body succeeded.

Reported by: Marie Helene Kvello-Aune <marieheleneka@gmail.com>
tests/sys/netpfil/pf/ioctl/validation.c