X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmemflush.cc;h=80a42453068e8fb35092b97c55f41fd1488c4d16;hb=cf55f693c7fc7693afbb4594d97d23795cf7f2a0;hp=9754470830201e44084bca16b895523e02424bd0;hpb=751e342e158ae65052ce098ccd64aa54e39312db;p=awesomized%2Flibmemcached diff --git a/tests/memflush.cc b/tests/memflush.cc index 97544708..80a42453 100644 --- a/tests/memflush.cc +++ b/tests/memflush.cc @@ -101,8 +101,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error) return NULL; } - const char *argv[1]= { "memflush" }; - if (not server_startup(servers, "memcached", MEMCACHED_DEFAULT_PORT +10, 1, argv)) + if (server_startup(servers, "memcached", libtest::default_port(), 0, NULL) == 0) { error= TEST_FAILURE; } @@ -114,7 +113,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error) void get_world(Framework *world) { executable= "./clients/memflush"; - world->collections= collection; - world->_create= world_create; + world->collections(collection); + world->create(world_create); }