Fix for test cases to make sure memcached is around.
[m6w6/libmemcached] / tests / memflush.cc
index 80a42453068e8fb35092b97c55f41fd1488c4d16..d8e0b5f800a9552b12b76c4f40e668b8f6711266 100644 (file)
@@ -95,7 +95,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;