summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch')
-rw-r--r--dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch
new file mode 100644
index 000000000000..e53a33ca9a28
--- /dev/null
+++ b/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch
@@ -0,0 +1,19 @@
+diff -uNr hiredis-0.11.0.orig/test.c hiredis-0.11.0/test.c
+--- hiredis-0.11.0.orig/test.c 2013-01-14 10:16:25.000000000 -0500
++++ hiredis-0.11.0/test.c 2013-01-14 10:18:05.000000000 -0500
+@@ -634,6 +634,7 @@
+ test_reply_reader();
+ test_blocking_connection_errors();
+
++/*
+ printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port);
+ cfg.type = CONN_TCP;
+ test_blocking_connection(cfg);
+@@ -645,6 +646,7 @@
+ test_blocking_connection(cfg);
+ test_blocking_io_errors(cfg);
+ if (throughput) test_throughput(cfg);
++*/
+
+ if (fails) {
+ printf("*** %d TESTS FAILED ***\n", fails);