From: Gerben Wierda Date: Fri, 20 Nov 1998 18:39:06 +0000 (+0200) Subject: NeXTstep /etc/group and /etc/passwd are used only at boot time, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10899c3d5d5df34829a079aa8cc6314d08715d2c;p=p5sagit%2Fp5-mst-13.2.git NeXTstep /etc/group and /etc/passwd are used only at boot time, Subject: Test results for perl5.005_53 under NEXTSTEP 3.3 (intel) To: perlbug@perl.com Lines: 47 Message-ID: p4raw-id: //depot/cfgperl@2264 --- diff --git a/t/op/grent.t b/t/op/grent.t index 48698e8..e44e101 100755 --- a/t/op/grent.t +++ b/t/op/grent.t @@ -7,7 +7,11 @@ BEGIN { my $GR = "/etc/group"; - if ($Config{'i_grp'} ne 'define' or not -f $GR or not open(GR, $GR)) { + if ($Config{'i_grp'} ne 'define' or not -f $GR or not open(GR, $GR) + # NeXTstep /etc/group is used only at boot time, + # after that it's up to NetInfo and NIS/YP. + or $^O eq 'next' + ) { print "1..0\n"; exit 0; } diff --git a/t/op/pwent.t b/t/op/pwent.t index 8fd9ce0..d1dfaa5 100755 --- a/t/op/pwent.t +++ b/t/op/pwent.t @@ -7,7 +7,11 @@ BEGIN { my $PW = "/etc/passwd"; - if ($Config{'i_pwd'} ne 'define' or not -f $PW or not open(PW, $PW)) { + if ($Config{'i_pwd'} ne 'define' or not -f $PW or not open(PW, $PW) + # NeXTstep /etc/passwd is used only at boot time, + # after that it's up to NetInfo and NIS/YP. + or $^O eq 'next' + ) { print "1..0\n"; exit 0; }