Date: Fri, 3 Apr 2020 15:47:16 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359598 - head/usr.bin/kyua Message-ID: <202004031547.033FlGLd066229@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Fri Apr 3 15:47:15 2020 New Revision: 359598 URL: https://svnweb.freebsd.org/changeset/base/359598 Log: 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 Added: head/usr.bin/kyua/kyua.conf-default (contents, props changed) Modified: head/usr.bin/kyua/Makefile Modified: head/usr.bin/kyua/Makefile ============================================================================== --- head/usr.bin/kyua/Makefile Fri Apr 3 14:47:40 2020 (r359597) +++ head/usr.bin/kyua/Makefile Fri Apr 3 15:47:15 2020 (r359598) @@ -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} Added: head/usr.bin/kyua/kyua.conf-default ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/kyua/kyua.conf-default Fri Apr 3 15:47:15 2020 (r359598) @@ -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'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004031547.033FlGLd066229>