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.

I wonder should there be also

        atf_tc_set_md_var(tc, "require.config", "rump");

so that those architectures where rump(3) does not work (?) also benefit
from the regression tests without many false positives. Cf. jun@'s test
runs in [1].

- Jukka.

[1] http://ftp.netbsd.org/pub/NetBSD/misc/jun/atf/


Home | Main Index | Thread Index | Old Index