On 04/11/11 01:52 PM, Evan Layton wrote:
Figured it out. We don't expect the js2ai tests to be run as root and in
these two negative test cases we expect the user to not be able to
access things due to permissions. The problem goes away if the tests are
not run as root. I think what needs to happen with these two tests to
check for the root user and not run them in the case where the user is
root.

If these tests run separate processes, then one option would be to run them with 'su' as the 'noaccess' user. That's what the pkg(5) test suite does for unprivileged user testing.

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

Reply via email to