summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2002-04-15 17:06:14 -0500
committerAbhijit Menon-Sen <ams@wiw.org>2002-04-16 02:24:25 +0000
commit58858581d2d18dc2bff021fb2c755408c36929c4 (patch)
tree711d61db0a0333ed2ff763bd3cfbbe552e1d4780
parent9ae2b9a01756a2a2ea4071ab263cdb052d634e1a (diff)
downloadperl-58858581d2d18dc2bff021fb2c755408c36929c4.tar.gz
lib/FileCache.t needs to use valid filename chars
From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <a05101501b8e144aa1d4a@[172.16.52.1]> p4raw-id: //depot/perl@15942
-rwxr-xr-xlib/FileCache.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/FileCache.t b/lib/FileCache.t
index 81359f5627..87bfd951d9 100755
--- a/lib/FileCache.t
+++ b/lib/FileCache.t
@@ -60,7 +60,7 @@ my @files = qw(foo bar baz quux);
}
{# Test 5: that close is overridden properly
- cacheout local $_ = "Foo'Bar";
+ cacheout local $_ = "Foo_Bar";
print $_ "Hello World\n";
close($_);
open($_, "+>$_");
@@ -74,7 +74,7 @@ q(
{# Test close override
package Bob;
use FileCache;
- cacheout local $_ = "Foo'Bar";
+ cacheout local $_ = "Foo_Bar";
print $_ "Hello World\n";
close($_);
open($_, "+>$_");
@@ -85,4 +85,4 @@ q(
}
);
-unlink @files, "Foo'Bar";
+1 while unlink @files, "Foo_Bar";