opnsense-src/sbin/ping/tests
Jose Luis Duran 5d24286be1
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)
2024-11-14 03:23:33 +00:00
..
in_cksum_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
injection.py Add test cases for ping with IP options in the response 2022-12-25 22:59:58 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ping_6_c1_s8_t1.out ping: Unify ping/ping6 statistics section 2023-11-06 11:45:43 -05:00
ping_c1_s8_t1_S1.out ping: Unify ping/ping6 statistics section 2023-11-06 11:45:43 -05:00
ping_c1_s56_t1.out ping: By default, don't reverse lookup IP addresses 2019-08-22 18:57:24 +00:00
ping_c1_s56_t1_S127.out ping: if -S srcaddr uses a numeric address, use that protocol 2022-05-20 18:30:47 -05:00
ping_test.sh ping: Simplify protocol selection. 2023-12-13 17:41:46 +01:00
test_ping.py ping tests: Run tests unprivileged inside a vnet 2024-11-14 03:23:33 +00:00