/usr/share/perl5/CHI/t/Driver/Subcache/mirror_cache.pm is in libchi-perl 0.58-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | package CHI::t::Driver::Subcache::mirror_cache;
{
$CHI::t::Driver::Subcache::mirror_cache::VERSION = '0.58';
}
use strict;
use warnings;
use CHI::Test;
use File::Temp qw(tempdir);
use base qw(CHI::t::Driver::Subcache);
my $root_dir;
sub testing_driver_class {
return 'CHI::Driver::File';
}
sub new_cache_options {
my $self = shift;
$root_dir ||=
tempdir( "chi-driver-subcache-mirror-XXXX", TMPDIR => 1, CLEANUP => 1 );
return (
$self->SUPER::new_cache_options(),
depth => 2,
root_dir => $root_dir,
mirror_to_cache => { driver => 'File', depth => 3 },
);
}
# This tries to create its own mirror cache
sub test_max_key_length { }
1;
|