From: Michael Wallner Date: Mon, 13 Jan 2020 13:56:35 +0000 (+0100) Subject: tests: fix kill(HUP) test X-Git-Tag: pre_cmake~48 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=bd8a989e9f0d0c115ae771732c9199589e3043fd;p=awesomized%2Flibmemcached tests: fix kill(HUP) test --- diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc index bed716cd..0d6d047d 100644 --- a/tests/libmemcached-1.0/mem_functions.cc +++ b/tests/libmemcached-1.0/mem_functions.cc @@ -5079,8 +5079,7 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc) test_literal_param(__func__), // Keys test_literal_param(__func__), // Values 0, 0); - test_compare(ret, memc); - test_compare(MEMCACHED_CONNECTION_FAILURE, memc); + test_compare(MEMCACHED_CONNECTION_FAILURE, ret); memcached_free(memc);