opnsense-src/tests/atf_python/sys
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
..
net atf_python: Run vnet handlers in $HOME 2026-02-16 13:43:18 +00:00
netlink tests: move atf_python/sys/ into the tests package 2024-04-19 14:48:37 -04:00
netpfil tests/ipfw: Update regression tests to match new 32-bit size rule numbers 2025-11-03 07:21:13 +01:00
__init__.py
Makefile tests: move atf_python/sys/ into the tests package 2024-04-19 14:48:37 -04:00