closes #5406, fix test

git-svn-id: file:///svn/toku/tokudb@47206 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:01:05 -04:00 committed by Yoni Fogel
parent e6f4302120
commit 7015e79fe0

View file

@ -4,12 +4,11 @@
#ident "Copyright (c) 2010 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#include "test.h"
#include "cachetable.h"
#include <inttypes.h>
/* Test for #2755. The ft_loader is using too much VM. */
bool verbose=false;
static void test_cachetable_reservation (long size) {
CACHETABLE ct;
{
@ -42,7 +41,7 @@ static void test_cachetable_reservation (long size) {
}
int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) {
int test_main (int argc __attribute__((__unused__)), const char *argv[] __attribute__((__unused__))) {
test_cachetable_reservation(1L<<28);
test_cachetable_reservation(1LL<<33);
test_cachetable_reservation(3L<<28);