From 8e3eacadd3d91fbab5a4bb41b7d817f9d42bbb5a Mon Sep 17 00:00:00 2001 From: "Michael G. Schwern" Date: Tue, 13 Nov 2001 15:59:13 -0500 Subject: [PATCH] Simple little VMS fix Message-Id: <20011113205913.H32567@blackrider> p4raw-id: //depot/perl@12987 --- t/op/groups.t | 10 +++++----- vms/test.com | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/t/op/groups.t b/t/op/groups.t index 8c14649..64f6190 100755 --- a/t/op/groups.t +++ b/t/op/groups.t @@ -10,6 +10,11 @@ sub quit { exit 0; } +unless (eval { getgrgid(0); 1 }) { + print "1..0 # Skip: getgrgid() not implemented\n"; + exit 0; +} + quit() if (($^O eq 'MSWin32' || $^O eq 'NetWare') or $^O =~ /lynxos/i); # We have to find a command that prints all (effective @@ -65,11 +70,6 @@ EOM quit(); } -unless (eval { getgrgid(0); 1 }) { - print "1..0 # Skip: getgrgid() not implemented\n"; - exit 0; -} - chomp($groups); print "# groups = $groups\n"; diff --git a/vms/test.com b/vms/test.com index 786418c..a7064a9 100644 --- a/vms/test.com +++ b/vms/test.com @@ -115,7 +115,7 @@ use Config; use File::Spec; @compexcl=('cpp.t'); -@opexcl=('die_exit.t','exec.t','groups.t','magic.t','stat.t'); +@opexcl=('die_exit.t','exec.t','magic.t','stat.t'); @exclist=(@compexcl,@libexcl,@opexcl); foreach $file (@exclist) { $skip{$file}++; } -- 2.7.4