X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached-1.0%2Fmem_functions.cc;h=44143983555b429fb7f52d1dbdcb959c1ed3a940;hb=bf8213041709c75147393c8bd6b51b8f9e064f7c;hp=046e543d4bc585c1c4a16fd1e09d8aa9580bcaa6;hpb=fcc711fcb93c163941b56cbf52b706236af89397;p=awesomized%2Flibmemcached diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc index 046e543d..44143983 100644 --- a/tests/libmemcached-1.0/mem_functions.cc +++ b/tests/libmemcached-1.0/mem_functions.cc @@ -39,7 +39,7 @@ #include #if defined(HAVE_LIBUUID) && HAVE_LIBUUID -#include +# include #endif /* @@ -47,8 +47,8 @@ */ #include -#include -#include +#include "libmemcached/is.h" +#include "libmemcached/server_instance.h" #include @@ -4953,8 +4953,7 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc) test_literal_param(__func__), // Keys test_literal_param(__func__), // Values 0, 0); - Error << memcached_last_error_message(memc); - test_compare(MEMCACHED_CONNECTION_FAILURE, ret); + test_compare(ret, MEMCACHED_CONNECTION_FAILURE); memcached_free(memc);