Update test (looking for error condition).
authorBrian Aker <brian@tangent.org>
Mon, 25 Feb 2013 05:01:49 +0000 (00:01 -0500)
committerBrian Aker <brian@tangent.org>
Mon, 25 Feb 2013 05:01:49 +0000 (00:01 -0500)
tests/libmemcached-1.0/mem_functions.cc

index ccfbe83ed5efe345cfe5ca6c32142f639d12d1b5..f26f7c4cb4367982603065d02d127bd22eaac42a 100644 (file)
@@ -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);