From 7015e79fe0563fae314f553678f4a193accddccf Mon Sep 17 00:00:00 2001 From: Zardosht Kasheff Date: Wed, 17 Apr 2013 00:01:05 -0400 Subject: [PATCH] closes #5406, fix test git-svn-id: file:///svn/toku/tokudb@47206 c7de825b-a66e-492c-adef-691d508d4ae1 --- ft/tests/ftloader-test-vm.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ft/tests/ftloader-test-vm.cc b/ft/tests/ftloader-test-vm.cc index 85e69c511f3..70e4d9e7a4b 100644 --- a/ft/tests/ftloader-test-vm.cc +++ b/ft/tests/ftloader-test-vm.cc @@ -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 /* 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);