in reply to Re^2: Check for root under Cygwin
in thread Check for root under Cygwin

But is there an option to run tests, when possible?

You mean that the tests *should* be run when running as administrator ? Perhaps Win32::IsAdminUser() is useful for determining that.
See the Win32 module's documentation.

Consider posting to the Cygwin mailing list (if you fail to receive a satisfactory answer here).

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Check for root under Cygwin
by vsespb (Chaplain) on Sep 02, 2013 at 13:17 UTC
    Yes, Win32::IsAdminUser() is working right, seems it's the solution.
    I did not realize that this module available for Cygwin too.
    Thanks!
Re^4: Check for root under Cygwin
by vsespb (Chaplain) on Sep 02, 2013 at 12:45 UTC
    You mean that the tests *should* be run when running as administrator ?
    No, test should be run when *not* running as administrator.