From: Brian Aker Date: Mon, 25 Feb 2013 05:01:49 +0000 (-0500) Subject: Update test (looking for error condition). X-Git-Tag: 1.0.17~4^2~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f80b715be63fe50d8cf682308e030f84ad80f95b;p=awesomized%2Flibmemcached Update test (looking for error condition). --- diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc index ccfbe83e..f26f7c4c 100644 --- a/tests/libmemcached-1.0/mem_functions.cc +++ b/tests/libmemcached-1.0/mem_functions.cc @@ -5015,7 +5015,8 @@ 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, MEMCACHED_CONNECTION_FAILURE); + test_compare(ret, memc); + test_compare(MEMCACHED_CONNECTION_FAILURE, memc); memcached_free(memc);