This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op.c: Add debugging dump function
[perl5.git] / ext / FileCache / t / 01open.t
CommitLineData
d9268716
S
1#!./perl
2
3use FileCache;
4
fd55ca4f 5our @files;
d9268716
S
6BEGIN { @files = qw(foo bar baz quux Foo_Bar) }
7END { 1 while unlink @files }
8
9use Test::More tests => 1;
10
11{# Test 1: that we can open files
12 for my $path ( @files ){
13 cacheout $path;
14 print $path "$path 1\n";
15 close $path;
16 }
17 ok(scalar(map { -f } @files) == scalar(@files));
18}