HomeFreeBSD

pf tests: ensure temporary files end up in the atf working directory

Description

pf tests: ensure temporary files end up in the atf working directory

Many of the tests create temporary files. pid files, log files, tcpdump
captures, ... We should take care to ensure they're stored in the temporary
working directory Kyua creates rather than in the root directory.

This ensures there are no conflicts between simultaneously running tests, and
also keeps the root directory clean.

MFC after: 1 month
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit b0fcf4d5222bfdbbc0e2af2b14f0d73704706aa0)

Details

Provenance
kpAuthored on Jul 19 2024, 1:13 PM
Parents
rG8dfa4e5b6ce2: tail -F: fix crash
Branches
Unknown
Tags
Unknown