opnsense-src/tests/atf_python/sys/net
Mark Johnston 83d175fc2e atf_python: Run vnet handlers in $HOME
When kyua runs a test, it creates a temp directory and sets $HOME to
point to it.  Tests are run with the cwd set to that temp directory.

When a process attaches to a jail, its cwd is set to the root of the
jail.  Modify atf_python to cd to $HOME instead, so that it's easier for
tests to share files.

Reviewed by:	zlei, ngie
MFC after:	2 weeks
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54971

(cherry picked from commit 07940d1d85eb338853fcba0697c6b9a96412a7f2)
2026-02-16 13:43:18 +00:00
..
__init__.py
Makefile tests: move atf_python/sys/ into the tests package 2024-04-19 14:48:37 -04:00
rtsock.py
tools.py pf: test rules evaluation in the face of multiple IPv6 fragment headers 2023-08-04 15:24:16 +02:00
vnet.py atf_python: Run vnet handlers in $HOME 2026-02-16 13:43:18 +00:00