diff options
Diffstat (limited to 'lib/User')
-rw-r--r-- | lib/User/pwent.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/User/pwent.t b/lib/User/pwent.t index e274265bd1..701c16096f 100644 --- a/lib/User/pwent.t +++ b/lib/User/pwent.t @@ -28,7 +28,8 @@ print "ok 1\n"; my $pwent = getpwuid 0; # This is the OO getpwuid. -print "not " unless $pwent->uid == 0; +print "not " unless $pwent->uid == 0 || + ($^O eq 'cygwin' && $pwent->uid == 500); # go figure print "ok 2\n"; print "not " unless $pwent->name == $pwent[0]; |