Page MenuHomeFreeBSD

ping_test: Fix tests ping_46 and ping6_46
ClosedPublic

Authored by jlduran on Nov 3 2022, 10:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 2:30 PM
Unknown Object (File)
Dec 9 2024, 4:04 PM
Unknown Object (File)
Dec 4 2024, 9:04 PM
Unknown Object (File)
Nov 18 2024, 6:51 AM
Unknown Object (File)
Nov 18 2024, 6:25 AM
Unknown Object (File)
Nov 18 2024, 4:33 AM
Unknown Object (File)
Nov 13 2024, 11:32 AM
Unknown Object (File)
Oct 4 2024, 4:10 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.