home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl560.zip
/
t
/
lib
/
filecache.t
< prev
next >
Wrap
Text File
|
1999-07-20
|
365b
|
26 lines
#!./perl
BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
}
print "1..1\n";
use FileCache;
# This is really not a complete test as I don't bother to open enough
# files to make real swapping of open filedescriptor happen.
$path = "foo";
cacheout $path;
print $path "\n";
close $path;
print "not " unless -f $path;
print "ok 1\n";
unlink $path;