This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Removing 2>&1 requirement (was Re:
[perl5.git] / lib / FileCache.t
CommitLineData
1a3850a5
GA
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
20822f61 5 @INC = '../lib';
1a3850a5
GA
6}
7
8print "1..1\n";
9
10use FileCache;
11
12# This is really not a complete test as I don't bother to open enough
13# files to make real swapping of open filedescriptor happen.
14
15$path = "foo";
16cacheout $path;
17
18print $path "\n";
19
20close $path;
21
22print "not " unless -f $path;
23print "ok 1\n";
24
25unlink $path;