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
@@ -182,7 +182,7 @@
 }
 END_TEST
 
-#ifdef HAVE_LIBMEMCACHE
+#if 0
 START_TEST(test_cache_memcache)
 {
 	oauth2_cache_t *c = NULL;
@@ -198,7 +198,7 @@
 END_TEST
 #endif
 
-#ifdef HAVE_LIBHIREDIS
+#if 0
 START_TEST(test_cache_redis)
 {
 	oauth2_cache_t *c = NULL;
@@ -225,10 +225,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
@@ -40,7 +40,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
@@ -129,7 +129,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;                                         \
 	}                                                                      \
