Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Check for root under Cygwin

by syphilis (Canon)
on Sep 02, 2013 at 12:29 UTC ( #1051934=note: print w/ replies, xml ) Need Help??


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


Comment on Re^3: Check for root under Cygwin
Re^4: Check for root under Cygwin
by vsespb (Hermit) 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.
Re^4: Check for root under Cygwin
by vsespb (Hermit) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051934]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-07-11 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (223 votes), past polls