Page MenuHomeFreeBSD

tee: add some basic tests
ClosedPublic

Authored by kevans on Dec 24 2024, 6:10 PM.
Tags
None
Referenced Files
F116117362: D48195.diff
Fri, May 2, 5:10 PM
F116070808: D48195.id148374.diff
Fri, May 2, 7:06 AM
Unknown Object (File)
Sun, Apr 20, 4:36 PM
Unknown Object (File)
Thu, Apr 17, 2:57 AM
Unknown Object (File)
Mon, Apr 7, 4:00 AM
Unknown Object (File)
Mar 17 2025, 2:34 PM
Unknown Object (File)
Mar 5 2025, 11:28 PM
Unknown Object (File)
Mar 1 2025, 5:07 AM
Subscribers

Details

Reviewers
des
emaste
Group Reviewers
tests
Commits
rG85ff0b08ee69: tee: add some basic tests
Summary

The cases are ordered in such a way that we naturally progress through
the functionality, with the earliest failures perhaps shedding light on
any later failures.

sysutils/porch is used for one test if it's available, just to cleanly
check that SIGINT is being ignored properly.

Diff Detail

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

Event Timeline

kevans added a child revision: D48196: tee: minor cleanup.
This revision is now accepted and ready to land.Dec 26 2024, 1:33 PM

Looks fine to me other than a comment that seems to be cut off that can be fixed on commit

usr.bin/tee/tests/tee_test.sh
48

to avoid what?

ngie added inline comments.
usr.bin/tee/Makefile
2

superfluous line.

usr.bin/tee/tests/tee_test.sh
55
kevans added inline comments.
usr.bin/tee/tests/tee_test.sh
48

I really don't know where that train of thought was going, but we'll just finish that with:

"to avoid adding a lot of complexity in trying to manage an input + signal delivery dance purely in shell."

This revision was automatically updated to reflect the committed changes.
kevans marked an inline comment as done.