Index: head/usr.bin/kyua/Makefile =================================================================== --- head/usr.bin/kyua/Makefile +++ head/usr.bin/kyua/Makefile @@ -30,8 +30,11 @@ 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} Index: head/usr.bin/kyua/kyua.conf-default =================================================================== --- head/usr.bin/kyua/kyua.conf-default +++ head/usr.bin/kyua/kyua.conf-default @@ -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'