freebsd-dev/sbin/ping
Jose Luis Duran d481443acb ping_test: Fix tests ping_46 and ping6_46
If no IPv4-host, IPv4-mcast-group or IPv6-host is passed, it will
display the usage.  The tests are passing because they are just checking
that the exit code is 1.

Fix the tests by checking the appropriate output message.

While here, change the description to match the output and add the
missing requirements.

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D37250
2022-11-03 10:39:32 -04:00
..
tests ping_test: Fix tests ping_46 and ping6_46 2022-11-03 10:39:32 -04:00
main.c ping: main.c: Consistent use of white space/tabs 2022-11-03 10:39:32 -04:00
main.h ping: split the visual part of -f into a new option -. 2022-04-18 18:10:50 +02:00
Makefile ping: allow building without INET support 2020-11-28 23:24:19 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
ping.8 ping: split the visual part of -f into a new option -. 2022-04-18 18:10:50 +02:00
ping.c ping: Remove a vestigial notdef 2022-11-03 10:39:32 -04:00
ping.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping6.c ping(8): Correct a typo in source code comment 2022-09-04 13:26:34 +02:00
ping6.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
utils.c ping: Move in_cksum() to a separate source file 2019-08-17 15:25:01 +00:00
utils.h ping: fix include guard symbol name to reflect the header file name 2019-08-23 15:24:18 +00:00