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:
e01a9ca
)
[ID 20001025.011] [PATCH] t/io/open.t perl@7369[ 7350] breaks VMS perl
author
Peter J. Farley III
<pjfarley@banet.net>
Wed, 25 Oct 2000 23:10:18 +0000
(19:10 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 26 Oct 2000 04:50:52 +0000
(
04:50
+0000)
Message-Id: <4.3.1.0.
20001025230222
.
00accba0
@pop5.banet.net>
p4raw-id: //depot/perl@7450
t/io/open.t
patch
|
blob
|
history
diff --git
a/t/io/open.t
b/t/io/open.t
index
0190281
..
0e2d57c
100755
(executable)
--- a/
t/io/open.t
+++ b/
t/io/open.t
@@
-9,6
+9,7
@@
BEGIN {
$| = 1;
use warnings;
$Is_VMS = $^O eq 'VMS';
+$Is_Dos = $^O eq 'dos';
print "1..66\n";
@@
-268,13
+269,21
@@
ok;
{
local *F;
for (1..2) {
+ if ($Is_Dos) {
open(F, "echo \\#foo|") or print "not ";
+ } else {
+ open(F, "echo #foo|") or print "not ";
+ }
print <F>;
close F;
}
ok;
for (1..2) {
+ if ($Is_Dos) {
open(F, "-|", "echo \\#foo") or print "not ";
+ } else {
+ open(F, "-|", "echo #foo") or print "not ";
+ }
print <F>;
close F;
}