Page MenuHomeFreeBSD

ping_test: Fix tests ping_46 and ping6_46
ClosedPublic

Authored by jlduran_gmail.com on Nov 3 2022, 10:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 3:01 AM
Unknown Object (File)
Apr 27 2024, 3:02 PM
Unknown Object (File)
Apr 27 2024, 3:01 PM
Unknown Object (File)
Apr 27 2024, 3:01 PM
Unknown Object (File)
Apr 27 2024, 3:01 PM
Unknown Object (File)
Apr 22 2024, 10:00 PM
Unknown Object (File)
Feb 21 2024, 5:25 AM
Unknown Object (File)
Feb 19 2024, 5:11 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 3 2022, 1:00 PM

Move the atf_skips to the body section.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 3 2022, 2:41 PM
This revision was automatically updated to reflect the committed changes.