[pkg-discuss] 1147 test harness needs enhancements to run as non-root, and on Read-Only FS

johansen at sun.com johansen at sun.com
Tue Sep 15 15:24:55 PDT 2009


On Tue, Sep 15, 2009 at 05:17:27PM -0500, Shawn Walker wrote:
> John Sonnenschein wrote:
>> Thoughts?
>>
>> http://cr.opensolaris.org/~error404/1147/
>
> I'd prefer '@privileged' over '@RunAsRoot'.

If we're going to go that route, it would make more sense to actually
detail what privileges the test case needs in order to complete its
task.  Since decorators don't take arguments, that approach doesn't seem
optimal.  The current approach may not be sophisticated, but it is
descriptive and simple.

-j



More information about the pkg-discuss mailing list