Fix for test cases to make sure memcached is around.
[m6w6/libmemcached] / tests / memtouch.cc
index c44e6a08dcca5ac67d06eb34ccc8032b6cd097e5..647485e44e9119964063b5f65f0c97c317479885 100644 (file)
@@ -139,7 +139,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;
@@ -160,4 +160,3 @@ void get_world(Framework *world)
   world->collections(collection);
   world->create(world_create);
 }
-