summaryrefslogtreecommitdiff
path: root/t/op/pwent.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/pwent.t')
-rwxr-xr-xt/op/pwent.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/pwent.t b/t/op/pwent.t
index feee6f2b90..788d2f2701 100755
--- a/t/op/pwent.t
+++ b/t/op/pwent.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, "../lib" if -d "../lib";
+ eval {my @n = getpwuid 0};
+ if ($@ && $@ =~ /(The \w+ function is unimplemented)/) {
+ print "1..0 # Skip: $1\n";
+ exit 0;
+ }
eval { require Config; import Config; };
my $reason;
if ($Config{'i_pwd'} ne 'define') {