summaryrefslogtreecommitdiff
path: root/t/op/grent.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/grent.t')
-rwxr-xr-xt/op/grent.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/grent.t b/t/op/grent.t
index 9b06f11a3e..c9d3797533 100755
--- a/t/op/grent.t
+++ b/t/op/grent.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, "../lib" if -d "../lib";
+ eval {my @n = getgrgid 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_grp'} ne 'define') {