X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmemcp.cc;h=89ded54c4ade924ecd50ab1701eff5249119adc8;hb=785f671d065aa12941a98fca384248ac5cd6e527;hp=7fca2d3621ad22662606da303051a0155a2603d5;hpb=da8d9551f1c0fd5e9381357f6253cb125f336c68;p=awesomized%2Flibmemcached diff --git a/tests/memcp.cc b/tests/memcp.cc index 7fca2d36..89ded54c 100644 --- a/tests/memcp.cc +++ b/tests/memcp.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" #include @@ -52,7 +52,7 @@ using namespace libtest; #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif -static std::string executable("./clients/memcp"); +static std::string executable("./src/bin/memcp"); static test_return_t help_test(void *) { @@ -63,6 +63,7 @@ static test_return_t help_test(void *) return TEST_SUCCESS; } +#if 0 static test_return_t server_test(void *) { int fd; @@ -82,10 +83,13 @@ static test_return_t server_test(void *) return TEST_SUCCESS; } +#endif test_st memcp_tests[] ={ {"--help", true, help_test }, +#if 0 {"--server_test", true, server_test }, +#endif {0, 0, 0} };