atf_python: vnet: Use absolute paths within helpers
authorJose Luis Duran <jlduran@gmail.com>
Thu, 12 Oct 2023 15:14:44 +0000 (15:14 +0000)
committerMark Johnston <markj@FreeBSD.org>
Fri, 13 Oct 2023 19:31:30 +0000 (15:31 -0400)
commita1eb150ce215f51abbbb34aed0533bced93e5502
tree8c98ba026379aef859229a7132359ec596d66fc9
parent7964a28ccfc9f1d353fa851f5ecd83d17ab75b09
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
tests/atf_python/sys/net/vnet.py