[memcached] bradfitz,
r372: update 64 bit test skipping now that we'...
commits at code.sixapart.com
commits at code.sixapart.com
Tue Sep 5 05:59:44 UTC 2006
update 64 bit test skipping now that we're using atol instead of atoll
U trunk/server/t/64bit.t
Modified: trunk/server/t/64bit.t
===================================================================
--- trunk/server/t/64bit.t 2006-09-05 05:55:37 UTC (rev 371)
+++ trunk/server/t/64bit.t 2006-09-05 05:59:43 UTC (rev 372)
@@ -37,7 +37,7 @@
$get_slabs->();
$get_stats->();
-if ($slabs{'total_malloced'} eq "32") {
+if ($slabs{'total_malloced'} eq "32" || $slabs{'total_malloced'} eq "2147483647") {
plan skip_all => 'Skipping 64-bit tests on 32-bit build';
exit 0;
} else {
@@ -46,7 +46,7 @@
ok(1, "is 64 bit");
is($stats{'limit_maxbytes'}, "4296015872", "max bytes is 4097 MB");
-is($slabs{'total_malloced'}, "4294967328", "correct value");
+is($slabs{'total_malloced'}, "4294967328", "expected (faked) value of total_malloced");
is($slabs{'active_slabs'}, 0, "no active slabs");
my $hit_limit = 0;
More information about the memcached-commits
mailing list