On Fri, Mar 7, 2008 at 3:30 PM,  <[EMAIL PROTECTED]> wrote:
> > Oh, one more interesting tidbit:
>  >
>  > This failure only happens when I run "make test" as root.
>  >
>  > In other words:
>  >
>  > pfexec bash
>  > make test
>  >
>  > It seems to work fine if I run it as my own user.
>  >
>  > Does that mean anything?
>
>  Yes.  Directory permission checks aren't enforced for root, so this test
>  case will fail when run as root.

Ah.

>  I've written a pejorative case for when we are running as root.  It
>  doesn't test for the exception, but it does assert that we've set our
>  errorlevel high enough to get exceptions, should they occur.

I usually run the tests as root since make test says that "some tests
may fail if not run as root" or something like that.

>  Here's the diff for that:

Sad that you need it, but it seems to work for now.

-- 
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/

"To err is human -- and to blame it on a computer is even more so." -
Robert Orben
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to