summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-06 04:09:00 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-06 04:09:00 +0000
commited2efe3e534db47ab310221fbc01d92a689e5554 (patch)
treef561f2713b1ba2d999bf263bdac91219e6e198b9 /t/io
parent2aa1bedce372e6b76c98a4d8a94a86dbb450f3a0 (diff)
downloadperl-ed2efe3e534db47ab310221fbc01d92a689e5554.tar.gz
tweak test in change#4757 for Windows
p4raw-link: @4757 on //depot/perl: faecd977681fb50ecb4b9174f76ac49d0d9e21c7 p4raw-id: //depot/perl@4762
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/open.t14
1 files changed, 11 insertions, 3 deletions
diff --git a/t/io/open.t b/t/io/open.t
index 7085084fa3..1e9409171c 100755
--- a/t/io/open.t
+++ b/t/io/open.t
@@ -262,8 +262,16 @@ ok;
# 65..66
{
local *F;
- for (1..2) { open(F, "echo #foo|") or print "not "; }
- ok;
- for (1..2) { open(F, "-|", "echo #foo") or print "not "; }
+ for (1..2) {
+ open(F, "echo #foo|") or print "not ";
+ print <F>;
+ close F;
+ }
+ ok;
+ for (1..2) {
+ open(F, "-|", "echo #foo") or print "not ";
+ print <F>;
+ close F;
+ }
ok;
}