Subject: | IPC::ShareLite fetch() error: Bug Fix |
Hi,
We are upgrading to perl 5.8.8 on AIX 5.3.While building Cache-Cache-
1.05 ,we got this below mentioned error
Running make test
PERL_DL_NONLAZY=1 /opt/3d/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_test_cache_interface...................ok
t/2_test_memory_cache......................ok
t/3_test_file_cache........................ok
t/4_test_shared_memory_cache...............IPC::ShareLite fetch()
error: at /tmp/GcdCzCIczk/Cache-Cache-1.05/blib/lib/Cache/SharedM
emoryBackend.pm line 101
To fix this i made a small change with the
t/4_test_shared_memory_cache.t as below
.
.
.
use vars qw( $TEST_COUNT );
$TEST_COUNT = 2;
### Here is the new stuff -start
my %dummy_hash;
my $dummy_hash_ref=\%dummy_hash;
my $cache = new Cache::SharedMemoryCache($dummy_hash_ref) or
### Ends here
not_ok( "Couldn't create new SharedMemoryCache" );
.
.
.
.