HomeFreeBSD

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

Description

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>
MFC after: 2 weeks

Details

Provenance
kpAuthored on
Parents
rS341834: pf tests: ioctl tests require root rights
Branches
Unknown
Tags
Unknown