Date: Fri, 31 Jan 2020 13:24:58 +0100 From: "Kristof Provost" <kp@FreeBSD.org> To: "Clay Daniels" <clay.daniels.jr@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: kyua test Message-ID: <4E17DC37-023F-429F-8208-47B5A386EBB0@FreeBSD.org> In-Reply-To: <CAGLDxTVfmLrxy7WkZSAY%2B79SZSH%2BNb%2BR%2BVYu95u690ZXVKe4fw@mail.gmail.com> References: <CAGLDxTVfmLrxy7WkZSAY%2B79SZSH%2BNb%2BR%2BVYu95u690ZXVKe4fw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 31 Jan 2020, at 7:34, Clay Daniels wrote: > I've started running kyua test when I load the weekly current > snapshot, and > I'm a little confused about if I should run kyua test as user or root. > In > order to make the /usr/ports/devel/kyua port you need to be root and I > have > just been doing the test as root, but I notice in the instructions I'm > using in the test(7) manpage it says: > > $ kyua test -k /usr/tests/Kyuafile > > Which suggested to me run as user with the $ (not #) > > Of course, when I run it as user as I'm doing right now, it skips some > tests that are only for root. I guess I could use a little advice. > Some tests require root, some do not. It depends on what you want to test. All tests that require root should announce this in their configuration, so running tests as a regular user should work, but you’ll end up with more skipped tests than if you run them as root. I personally mostly care about network (and specifically pf) tests, so I tend to always run them as root. If you care about (e.g.) grep tests they should just work as a regular user. Best regards, Kristofhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E17DC37-023F-429F-8208-47B5A386EBB0>
