Description: disable memcached and redis cache tests
Author: Nicolas Mora <babelouest@debian.org>
Forwarded: not-needed
--- a/test/check_cache.c
+++ b/test/check_cache.c
@@ -181,7 +181,7 @@
 }
 END_TEST
 
-#ifdef HAVE_LIBMEMCACHE
+#if 0
 START_TEST(test_cache_memcache)
 {
 	oauth2_cache_t *c = NULL;
@@ -197,7 +197,7 @@
 END_TEST
 #endif
 
-#ifdef HAVE_LIBHIREDIS
+#if 0
 START_TEST(test_cache_redis)
 {
 	oauth2_cache_t *c = NULL;
@@ -224,10 +224,10 @@
 	tcase_add_test(c, test_cache_bogus);
 	tcase_add_test(c, test_cache_shm);
 	tcase_add_test(c, test_cache_file);
-#ifdef HAVE_LIBMEMCACHE
+#if 0
 	tcase_add_test(c, test_cache_memcache);
 #endif
-#ifdef HAVE_LIBHIREDIS
+#if 0
 	tcase_add_test(c, test_cache_redis);
 #endif
 
--- a/test/check_liboauth2.c
+++ b/test/check_liboauth2.c
@@ -39,7 +39,7 @@
 
 // #include <semaphore.h>
 
-static int http_server_port = 8888;
+static int http_server_port = 8080;
 static int http_server_signal_delivered = 0;
 
 #define HTTP_SERVER_BUFSIZE 8096
--- a/test/check_liboauth2.h
+++ b/test/check_liboauth2.h
@@ -131,7 +131,7 @@
 	{                                                                      \
 		if (_http_base_url == NULL)                                    \
 			_http_base_url = oauth2_stradd(                        \
-			    NULL, "http://127.0.0.1:8888",                     \
+			    NULL, "http://127.0.0.1:8080",                     \
 			    oauth2_check_http_base_path(), NULL);              \
 		return _http_base_url;                                         \
 	}                                                                      \
