HomeFreeBSD

ping_test: Fix tests ping_46 and ping6_46

Description

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

(cherry picked from commit d481443acb1c77610ac50a226f402e4629a608fb)

Details

Provenance
jlduran_gmail.comAuthored on Nov 2 2022, 11:43 AM
markjCommitted on Nov 10 2022, 5:02 PM
Reviewer
markj
Differential Revision
D37250: ping_test: Fix tests ping_46 and ping6_46
Parents
rGab1627bb2bd5: ping_test: Code cleanup
Branches
Unknown
Tags
Unknown