]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rs: Test actual output in the tests.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 16 Nov 2022 05:20:18 +0000 (21:20 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 16 Nov 2022 05:20:18 +0000 (21:20 -0800)
commit7ad9aa0b9366092a0feb671a2b252faefe3ff7fd
tree5e66d2c9d9d5592a925edd11d30efa325d740060
parentafb4998dd4de03c2d635faf7db89f3d3f6c3a6ff
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
usr.bin/rs/tests/rs_test.sh