HomeFreeBSD

atf_python: vnet: Use absolute paths within helpers

Description

atf_python: vnet: Use absolute paths within helpers

Usually tests are run in sterile environments; however, there is a
slight chance that the PATH overrides the utilities used for testing.

Pedantically use absolute paths, even inside VNETs, to avoid ambiguity.

Chiefly, jexec -> /usr/sbin/jexec, and ifconfig -> /sbin/ifconfig.

Reviewed by: markj
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/865

Details

Provenance
jlduranAuthored on Oct 12 2023, 3:14 PM
markjCommitted on Oct 13 2023, 7:31 PM
Parents
rG7964a28ccfc9: atf_python: Actually implement verbosity for run_cmd
Branches
Unknown
Tags
Unknown