From: Craig A. Berry Date: Wed, 7 Nov 2001 13:41:50 +0000 (-0600) Subject: resurrect t/op/glob.t on VMS X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0405c3f20e53ff01fe04ae140c982204c6695872;p=p5sagit%2Fp5-mst-13.2.git resurrect t/op/glob.t on VMS Message-Id: <5.1.0.14.2.20011107133422.02419350@exchi01> p4raw-id: //depot/perl@12895 --- diff --git a/t/op/glob.t b/t/op/glob.t index bf96e5b..8bdf64f 100755 --- a/t/op/glob.t +++ b/t/op/glob.t @@ -13,6 +13,10 @@ if ($^O eq 'MSWin32') { map { $files{lc($_)}++ } ; map { delete $files{"op/$_"} } split /[\s\n]/, `dir /b /l op & dir /b /l /ah op 2>nul`, } +elsif ($^O eq 'VMS') { + map { $files{lc($_)}++ } <[.op]*>; + map { s/;.*$//; delete $files{lc($_)}; } split /[\n]/, `directory/noheading/notrailing/versions=1 [.op]`, +} else { map { $files{$_}++ } ; map { delete $files{$_} } split /[\s\n]/, `echo op/*`;