Install a kyua.conf based on the one in devel/kyua.

The kyua.conf from examples doesn't match the expected config and
contains a lot of undesirable entries such as setting the architecture
to amd64 explicitly.

Reported by:	arichardson (missing config)
Reviewed by:	emaste
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D24267
This commit is contained in:
brooks 2020-04-03 15:47:15 +00:00
parent 34894a2d8b
commit 1c5aacde82
2 changed files with 18 additions and 1 deletions

View File

@ -30,8 +30,11 @@ CFLAGS+= -Wno-deprecated-declarations
FILESGROUPS= DOCS EXAMPLES MISC STORE
CONFS= kyua.conf
# Install a minimal default config that uses the 'tests' user.
# The examples config is not appropriate for general use.
CONFS= kyua.conf-default
CONFSDIR= ${KYUA_CONFDIR}
CONFSNAME= kyua.conf
DOCS= AUTHORS CONTRIBUTORS LICENSE
DOCSDIR= ${KYUA_DOCDIR}

View File

@ -0,0 +1,14 @@
-- $FreeBSD$
--
-- System-wide configuration file for kyua(1). See kyua.conf(5) for details
-- on the syntax.
--
syntax(2)
-- User to drop privileges to when invoking kyua(1) as root and a test case
-- requests to be run with non-root permissions.
unprivileged_user = 'tests'
-- An example to set a configuration property specific to FreeBSD.
--test_suites.FreeBSD.fstype = 'ffs'