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
F102865895: D37250.diff
Mon, Nov 18, 4:33 AM
Unknown Object (File)
Wed, Nov 13, 11:32 AM
Unknown Object (File)
Oct 4 2024, 4:10 PM
Unknown Object (File)
Oct 2 2024, 6:25 AM
Unknown Object (File)
Oct 1 2024, 8:08 PM
Unknown Object (File)
Sep 25 2024, 11:16 AM
Unknown Object (File)
Sep 24 2024, 4:48 AM
Unknown Object (File)
Sep 21 2024, 2:22 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.