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:
4375e83
)
VMS nits in glob() test (from Charles Lane)
author
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 24 Apr 2000 06:16:11 +0000
(06:16 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 24 Apr 2000 06:16:11 +0000
(06:16 +0000)
p4raw-id: //depot/perl@5918
t/lib/glob-basic.t
patch
|
blob
|
history
diff --git
a/t/lib/glob-basic.t
b/t/lib/glob-basic.t
index
89024ba
..
0719193
100755
(executable)
--- a/
t/lib/glob-basic.t
+++ b/
t/lib/glob-basic.t
@@
-39,7
+39,7
@@
print "ok 2\n";
# look up the user's home directory
# should return a list with one item, and not set ERROR
-if ($^O ne 'MSWin32'
||
$^O ne 'VMS') {
+if ($^O ne 'MSWin32'
&&
$^O ne 'VMS') {
eval {
($name, $home) = (getpwuid($>))[0,7];
1;
@@
-99,7
+99,7
@@
print "ok 7\n";
@a = File::Glob::glob(
'{TES*,doesntexist*,a,b}',
- GLOB_BRACE | GLOB_NOMAGIC
+ GLOB_BRACE | GLOB_NOMAGIC
| ($^O eq 'VMS' ? GLOB_NOCASE : 0)
);
unless (@a == 3
and $a[0] eq ($^O eq 'VMS'? 'test.' : 'TEST')