X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmemstat.cc;h=516ff7d91b5105305ed3e1132e067e6eead88ad7;hb=a70063f77b25d8b77ddbc2c145c2b812c31cc01c;hp=9b8cb836a380593ab9f266c35752dfac18b55f1f;hpb=f47caf2833675cce0b62a6e4ffd6764c1490a8b4;p=awesomized%2Flibmemcached diff --git a/tests/memstat.cc b/tests/memstat.cc index 9b8cb836..516ff7d9 100644 --- a/tests/memstat.cc +++ b/tests/memstat.cc @@ -39,10 +39,10 @@ Test that we are cycling the servers we are creating during testing. */ -#include +#include "mem_config.h" -#include -#include +#include "libtest/test.hpp" +#include "libmemcached-1.0/memcached.h" using namespace libtest; @@ -50,7 +50,7 @@ using namespace libtest; #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif -static std::string executable("./clients/memstat"); +static std::string executable("./src/bin/memstat"); static test_return_t help_test(void *) { @@ -113,7 +113,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error) return NULL; } - if (server_startup(servers, "memcached", libtest::default_port(), 0, NULL) == false) + if (server_startup(servers, "memcached", libtest::default_port(), NULL) == false) { error= TEST_SKIPPED; }