On Mon, Mar 3, 2008 at 8:50 AM, demerphq <[EMAIL PROTECTED]> wrote: > It turned out the problem is that when the tests are root it seems to > be not possible to create a directory that is not writeable by root. > Our test is verifying some private logic that checks if a directory is > writeable, and it fails as root. > > Im not really sure how to tackle this better than simply skipping the > tests as root which is what the most recent release does.
I did the same thing -- skipping -- when I encountered this issue on some module I was working on (IO::CaptureOutput?) -- also found thanks to Chris testing as root. I believe he suggested just dropping privileges for the test. Siince access control semantics aren't very portable and since mine was an error handling test, I ultimately decided to just skip since the error handling code is "proven" when tests run on non-root systems. David