summaryrefslogtreecommitdiff
path: root/t/op/groups.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/groups.t')
-rwxr-xr-xt/op/groups.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/groups.t b/t/op/groups.t
index d22d8f07ad..f46af93bd3 100755
--- a/t/op/groups.t
+++ b/t/op/groups.t
@@ -65,6 +65,11 @@ EOM
quit();
}
+unless (eval { getgrgid(0); 1 }) {
+ print "1..0 # Skip: getgrgid() not implemented\n";
+ exit 0;
+}
+
# Remember that group names can contain whitespace, '-', et cetera.
# That is: do not \w, do not \S.
if ($groups =~ /groups=(.+)( [ug]id=|$)/) {