summaryrefslogtreecommitdiff
path: root/t/op/grent.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/grent.t')
-rwxr-xr-xt/op/grent.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/op/grent.t b/t/op/grent.t
index 48698e879a..9d2b01d51a 100755
--- a/t/op/grent.t
+++ b/t/op/grent.t
@@ -7,7 +7,10 @@ BEGIN {
my $GR = "/etc/group";
- if ($Config{'i_grp'} ne 'define' or not -f $GR or not open(GR, $GR)) {
+ if (($^O eq 'next' and not open(GR, "nidump group .|"))
+ or (defined $Config{'i_grp'} and $Config{'i_grp'} ne 'define')
+ or not -f $GR or not open(GR, $GR)
+ ) {
print "1..0\n";
exit 0;
}
@@ -46,6 +49,7 @@ while (<GR>) {
$not = 1, last
if $name ne $name_s or
# Shadow passwords confuse this.
+# Not that group passwords are used much but still.
# $passwd ne $passwd_s or
$gid ne $gid_s or
$members ne $members_s;