summaryrefslogtreecommitdiff
path: root/t/op/glob.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/glob.t')
-rwxr-xr-xt/op/glob.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/op/glob.t b/t/op/glob.t
index dd95e980d5..253e4a312f 100755
--- a/t/op/glob.t
+++ b/t/op/glob.t
@@ -6,11 +6,12 @@ print "1..6\n";
@oops = @ops = <op/*>;
-map { $files{$_}++ } <op/*>;
if ($^O eq 'MSWin32') {
- map { delete $files{"op/$_"} } split /[\s\n]/, `cmd /c "dir /b /l op"`;
+ map { $files{lc($_)}++ } <op/*>;
+ map { delete $files{"op/$_"} } split /[\s\n]/, `cmd /c "dir /b /l op & dir /b /l /ah op 2>nul"`,
}
else {
+ map { $files{$_}++ } <op/*>;
map { delete $files{$_} } split /[\s\n]/, `echo op/*`;
}
if (keys %files) {