Update tests(7) as kyua(1) was imported to base in r359260

PR:		247151
Reported by:	0mp
Reviewed by:	0mp, asomers, bcr, emaste, markj
Suggested from:	brooks, ngie
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25339
This commit is contained in:
Li-Wen Hsu 2020-06-25 11:41:28 +00:00
parent 0946e70a3b
commit 97a4bf8062

View File

@ -26,7 +26,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 2, 2019
.Dd June 25, 2020
.Dt TESTS 7
.Os
.Sh NAME
@ -61,10 +61,6 @@ some of its optional features.
For information on writing the tests, see
.Xr atf 7 .
.Ss Installing the test suite
The test suite is installed by default as of
.Fx
11.0-RELEASE.
.Pp
If the
.Pa /usr/tests
directory is missing, then you will have to enable the build of the test
@ -102,11 +98,7 @@ third-party packages or manual modifications to configuration files) do not
introduce unexpected failures.
.El
.Ss Running the tests
First, you will need to install the
.Sq devel/kyua
package from
.Xr ports 7 .
Then use the following command to run the whole test suite:
Use the following command to run the whole test suite:
.Bd -literal -offset indent
$ kyua test -k /usr/tests/Kyuafile
.Ed
@ -158,7 +150,7 @@ skipped.
.Pp
Test suites are configured by defining their configuration
variables in
.Pa /usr/local/etc/kyua/kyua.conf .
.Pa /etc/kyua/kyua.conf .
The format of this file is detailed in
.Xr kyua.conf 5 .
.Pp
@ -205,8 +197,8 @@ For more details please refer to:
.Lk https://www.freebsd.org/support.html "Problem Reporting"
.El
.Sh FILES
.Bl -tag -compact -width usrXlocalXetcXkyuaXkyuaXconfXX
.It Pa /usr/local/etc/kyua/kyua.conf
.Bl -tag -compact -width "/etc/kyua/kyua.conf"
.It Pa /etc/kyua/kyua.conf
System-wide configuration file for
.Xr kyua 1 .
.It Pa ~/.kyua/kyua.conf
@ -230,7 +222,9 @@ Top-level test suite definition file.
The
.Fx
Test Suite first appeared in
.Fx 10.1 .
.Fx 10.1
and was installed by default in
.Fx 11.0 .
.Pp
The
.Nm
@ -238,5 +232,12 @@ manual page first appeared in
.Nx 6.0
and was later ported to
.Fx 10.1 .
.Pp
The test driver,
.Xr kyua 1 ,
was imported as part of the base system in
.Fx 13.0 ,
previously being available only in
.Xr ports 7 .
.Sh AUTHORS
.An Julio Merino Aq Mt jmmv@FreeBSD.org