Fix for test cases to make sure memcached is around.
[m6w6/libmemcached] / tests / memrm.cc
index 29c663376a33f63d2e6102a4c770bc018874d707..5c3b6d529c3918f52d3a65e7f059c2bcd7e145f5 100644 (file)
@@ -146,7 +146,7 @@ collection_st collection[] ={
 
 static void *world_create(server_startup_st& servers, test_return_t& error)
 {
-  if (HAVE_MEMCACHED_BINARY == 0)
+  if (libtest::has_memcached() == false)
   {
     error= TEST_SKIPPED;
     return NULL;