From: Michael Wallner Date: Mon, 20 Jan 2020 11:15:24 +0000 (+0100) Subject: tests: fix skip condition for CAS test X-Git-Tag: pre_cmake~34 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1899ec2a3d1f4f180b0109879a966fd6603ece86;p=m6w6%2Flibmemcached tests: fix skip condition for CAS test --- diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc index 0e380b7a..d799f4f6 100644 --- a/tests/libmemcached-1.0/mem_functions.cc +++ b/tests/libmemcached-1.0/mem_functions.cc @@ -717,7 +717,7 @@ test_return_t cas_test(memcached_st *memc) test_compare(MEMCACHED_SUCCESS, memcached_flush(memc, 0)); - test_skip(true, memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_SUPPORT_CAS, true)); + test_compare(MEMCACHED_SUCCESS, memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_SUPPORT_CAS, true)); test_compare(MEMCACHED_SUCCESS, memcached_set(memc,