freebsd-src/sbin/ping/tests
Dag-Erling Smørgrav c4ffb80ef1 ping: Consistently use EX_NOHOST for DNS failures.
Traditionally, ping returned exit code EX_NOHOST if a DNS lookup failed.
That is still the case for the legacy code in the new merged ping, but
not for IPv6 targets, nor when a DNS lookup is performed in order to
determine which version of the tool to invoke.

While here, also make sure that the error message is consistent.

Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D42159
2023-10-11 21:44:30 +02:00
..
in_cksum_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
injection.py
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-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_c1_s56_t1_S127.out
ping_test.sh ping: Consistently use EX_NOHOST for DNS failures. 2023-10-11 21:44:30 +02:00
test_ping.py ping: Require root user for pytests 2023-10-11 13:48:28 -04:00