Page MenuHomeFreeBSD

tee: add some basic tests
AcceptedPublic

Authored by kevans on Tue, Dec 24, 6:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 4:59 AM
Unknown Object (File)
Thu, Jan 2, 8:04 AM
Unknown Object (File)
Tue, Dec 31, 4:17 PM
Unknown Object (File)
Thu, Dec 26, 12:04 AM
Unknown Object (File)
Wed, Dec 25, 11:16 PM
Unknown Object (File)
Wed, Dec 25, 11:14 AM
Subscribers

Details

Reviewers
des
emaste
Group Reviewers
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 61320
Build 58204: arc lint + arc unit

Event Timeline

kevans added a child revision: D48196: tee: minor cleanup.
This revision is now accepted and ready to land.Thu, Dec 26, 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
47

to avoid what?

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

superfluous line.

usr.bin/tee/tests/tee_test.sh
54
kevans added inline comments.
usr.bin/tee/tests/tee_test.sh
47

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."