X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmemerror.cc;h=dd7610ef625cb9be3a23cbb47742fa959f21535d;hb=23bbe3972dada1e21493437ba64be129e86b59fc;hp=00863475838620c3d9639029062737b566ebacb0;hpb=a2d3699da26720a399bd7f563ccdbccf26e610c5;p=m6w6%2Flibmemcached diff --git a/tests/memerror.cc b/tests/memerror.cc index 00863475..dd7610ef 100644 --- a/tests/memerror.cc +++ b/tests/memerror.cc @@ -50,7 +50,7 @@ using namespace libtest; #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif -static std::string executable; +static std::string executable("./clients/memerror"); static test_return_t help_TEST(void *) { @@ -119,8 +119,7 @@ static void *world_create(server_startup_st&, test_return_t&) void get_world(Framework *world) { - executable= "./clients/memerror"; - world->collections= collection; - world->_create= world_create; + world->collections(collection); + world->create(world_create); }