opnsense-src/sbin/ping/tests
Jose Luis Duran 5797a03fe8
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:	4efaf43c6f ("ping: Require root user for pytests")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42175
2024-11-05 03:07:32 +00:00
..
in_cksum_test.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
injection.py Add test cases for ping with IP options in the response 2022-12-25 22:59:58 -07:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
ping_6_c1_s8_t1.out ping: Unify ping/ping6 statistics section 2023-10-11 13:48:28 -04:00
ping_c1_s8_t1_S1.out ping: Unify ping/ping6 statistics section 2023-10-11 13:48:28 -04: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: Add missing ATF boilerplate. 2023-10-11 21:45:06 +02:00
test_ping.py ping tests: Run tests unprivileged inside a vnet 2024-11-05 03:07:32 +00:00