HomeFreeBSD

ping tests: Run tests unprivileged inside a vnet

Description

ping tests: Run tests unprivileged inside a vnet

In order to create vnet jails, atf_python needs root privileges.
However, once the vnet is created, its privileges inside the vnet can be
demoted, as these tests should not require root in order to pass.

Reviewed by: markj
Approved by: emaste (mentor)
Fixes: 4efaf43c6fa7 ("ping: Require root user for pytests")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42175

(cherry picked from commit 5797a03fe8a7c3355a727aaaea803ee1f42d106b)

Details

Provenance
jlduranAuthored on Tue, Nov 5, 3:00 AM
Reviewer
rG4efaf43c6fa7: ping: Require root user for pytests
Differential Revision
D42175: ping tests: Run tests unprivileged inside a vnet
Parents
rG124ecd59ba81: ping tests: Silence deprecation warnings
Branches
Unknown
Tags
Unknown