Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Clarifications to tests(7)



Greg Troxel wrote:
> I found that tests(7) did not give guidance as to whether one should
> invoke atf-run (for the tests included with NetBSD) as root, and
> whether one had to worry about the state of the system.  The following
> patch is my best guess at the right answers.  I'll commit it if there
> are no objections.
[...]
> +If run as root, an unprivileged user will be used for tests that do
> +not require privileges.

Based on my understanding of the atf-run(7) man page, I think that
should read:

  If run as root, the tests are executed with root privileges,
  except for a few tests that specifically require execution as 
  an unprivileged user.

-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index