projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0953c
)
resurrect t/op/glob.t on VMS
author
Craig A. Berry
<craigberry@mac.com>
Wed, 7 Nov 2001 13:41:50 +0000
(07:41 -0600)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Thu, 8 Nov 2001 10:17:14 +0000
(10:17 +0000)
Message-Id: <5.1.0.14.2.
20011107133422
.
02419350
@exchi01>
p4raw-id: //depot/perl@12895
t/op/glob.t
patch
|
blob
|
history
diff --git
a/t/op/glob.t
b/t/op/glob.t
index bf96e5bc860f9196f61c94227c81ab16c15224bf..8bdf64f9327f3be03cc424ba6bcfc6b199ba60e0 100755
(executable)
--- a/
t/op/glob.t
+++ b/
t/op/glob.t
@@
-13,6
+13,10
@@
if ($^O eq 'MSWin32') {
map { $files{lc($_)}++ } <op/*>;
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{$_}++ } <op/*>;
map { delete $files{$_} } split /[\s\n]/, `echo op/*`;