HomeFreeBSD

rs: Test actual output in the tests.

Description

rs: Test actual output in the tests.

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.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D36835

Details

Provenance
jhbAuthored on Nov 16 2022, 5:20 AM
Reviewer
brooks
Differential Revision
D36835: rs: Test actual output in the tests.
Parents
rGafb4998dd4de: rs: Use getopt() and strtol() instead of mannual parsing.
Branches
Unknown
Tags
Unknown