This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Enhance lfs tests: check every seek and sysseek
[perl5.git] / t / lib / filecache.t
CommitLineData
1a3850a5
GA
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
93430cb4 5 unshift @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;