Page MenuHomeFreeBSD

tests.7: Provide better examples
Needs ReviewPublic

Authored by des on Fri, Apr 17, 6:11 PM.
Tags
None
Referenced Files
F153465499: D56475.diff
Tue, Apr 21, 8:07 AM
F153364647: D56475.diff
Mon, Apr 20, 5:49 PM
Unknown Object (File)
Sun, Apr 19, 6:34 PM
Unknown Object (File)
Sun, Apr 19, 7:49 AM
Unknown Object (File)
Sat, Apr 18, 10:11 PM
Unknown Object (File)
Sat, Apr 18, 7:49 PM
Subscribers

Details

Reviewers
ziaee
ngie
Group Reviewers
srcmgr
manpages
tests
Summary

Previous authors appear to have prioritized brevity over clarity. This
unfortunately resulted in a manual page that left its reader with the
false impression that Kyua is difficult to use. Attempt to correct
this by providing more and simpler examples with longer explanations.

While here, correct outdated information about where Kyua stores its
logs and results.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72323
Build 69206: arc lint + arc unit

Event Timeline

des requested review of this revision.Fri, Apr 17, 6:11 PM

LGTM from manpages. If you have a moment the https://reviews.freebsd.org/D56153 you requested is awaiting your review.

This revision is now accepted and ready to land.Fri, Apr 17, 7:18 PM
ngie added a subscriber: ngie.
ngie added inline comments.
share/man/man7/tests.7
149–153

I would note that kyua debug doesn't automatically clean up the sandbox kyua makes at test completion (or just point someone to man 1 kyua).

share/man/man7/tests.7
149–153

Yes it does. I can add a mention of -p though, if that's what you're thinking of.

This revision now requires review to proceed.Sat, Apr 18, 12:52 PM
des marked an inline comment as done.Sat, Apr 18, 12:52 PM