Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/tests/syscall
On Mon, Apr 04, 2011 at 09:05:19AM +0200, Nicolas Joly wrote:
> Adding the following to the testcase header should do the trick:
>
> atf_tc_set_md_var(tc,"require.user","unprivileged");
>
> In that case, if run as root, it will lower its privileges to the
> unprivileged user _atf before running the test.
Thanks, that indeed does the job.
If I may express my humble opinion, there seems to be currently way too much
weird macro-magic and undocumented calls in atf(7)...
- Jukka.
Home |
Main Index |
Thread Index |
Old Index