tests: fix skip condition for CAS test
[awesomized/libmemcached] / tests / libmemcached-1.0 / mem_functions.cc
index 0e380b7a0cfa0e0845b10fd0f73ec6f170170e70..d799f4f6340fc9496bb22d6953c550116666f7e4 100644 (file)
@@ -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,