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:
7bbfeec
)
(was Re: [PATCH perl@13600] cat2type in tests for VMS)
author
Craig A. Berry
<craigberry@mac.com>
Mon, 10 Dec 2001 18:25:37 +0000
(12:25 -0600)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 11 Dec 2001 00:39:20 +0000
(
00:39
+0000)
Message-Id: <5.1.0.14.2.
20011210174517
.
029c7ec0
@mail.mac.com>
p4raw-id: //depot/perl@13606
t/op/write.t
patch
|
blob
|
history
t/test.pl
patch
|
blob
|
history
diff --git
a/t/op/write.t
b/t/op/write.t
index
a86b4eb
..
fdc6e56
100755
(executable)
--- a/
t/op/write.t
+++ b/
t/op/write.t
@@
-7,7
+7,7
@@
BEGIN {
print "1..44\n";
-my $CAT = ($^O eq 'MSWin32' || $^O eq 'NetWare') ? 'type'
+my $CAT = ($^O eq 'MSWin32' || $^O eq 'NetWare'
|| $^O eq 'VMS'
) ? 'type'
: ($^O eq 'MacOS') ? 'catenate'
: 'cat';
diff --git
a/t/test.pl
b/t/test.pl
index
4f8a463
..
b6f4258
100644
(file)
--- a/
t/test.pl
+++ b/
t/test.pl
@@
-343,6
+343,7
@@
sub which_perl {
} else {
$exe = $Config{_exe};
}
+ $exe = '' unless defined $exe;
# This doesn't absolutize the path: beware of future chdirs().
# We could do File::Spec->abs2rel() but that does getcwd()s,