[email protected] wrote:
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

Sure they do, @Privileged(['net.privaddr']) is entirely possible. I actually like the idea of using privileges(5) to run the tests as they're supposed to be so I'm going to look in to that.

-JohnS
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to