Switch to using bind() to just find free ports to use while testing.
[m6w6/libmemcached] / tests / failure.cc
index c616a262d794f52253e8779f875effb7afff3220..1348e50cd05a8c4365c8ff31c85589d0bcd47a84 100644 (file)
@@ -39,7 +39,7 @@
 /*
   C++ interface test
 */
-#include <libmemcached/memcached.hpp>
+#include <libmemcached-1.0/memcached.hpp>
 #include <libmemcached/server_instance.h>
 #include <libtest/test.hpp>
 
@@ -204,7 +204,6 @@ collection_st collection[] ={
   { 0, 0, 0, 0 }
 };
 
-#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT +10
 #include "libmemcached_world.h"
 
 void get_world(Framework *world)