Page MenuHomeFreeBSD

rs: Test actual output in the tests.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 6:04 PM
Unknown Object (File)
Oct 4 2024, 8:43 PM
Unknown Object (File)
Oct 2 2024, 4:06 AM
Unknown Object (File)
Oct 2 2024, 3:38 AM
Unknown Object (File)
Oct 2 2024, 2:00 AM
Unknown Object (File)
Oct 1 2024, 12:36 PM
Unknown Object (File)
Oct 1 2024, 3:35 AM
Unknown Object (File)
Sep 30 2024, 4:36 PM
Subscribers

Details

Summary

Previously the tests just verified if command line arguments raised an
error or not, they did not test how command line arguments affected
the output. This adds some sample (if simple) input and output to
each flag test as well as adding a few additional trivial tests.

Diff Detail

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

Event Timeline

jhb requested review of this revision.Sep 29 2022, 10:48 PM

This change is what was supposed to happen with the generated smoke test. Too bad it's the first case I can think of in about 5 years...

This revision is now accepted and ready to land.Sep 29 2022, 11:31 PM
This revision was automatically updated to reflect the committed changes.