Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/
Date: Sat, 02 Sep 2017 14:46:17
Message-Id: 1504363562.e10264b4210893fbc2c7f622c1a3f44a4ff745f6.kensington@gentoo
1 commit: e10264b4210893fbc2c7f622c1a3f44a4ff745f6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sat Aug 19 13:06:07 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 14:46:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10264b4
7
8 dev-libs/hiredis: remove unused patches
9
10 .../hiredis-0.11.0-disable-network-tests.patch | 33 --------------------
11 .../hiredis-0.13.1-disable-network-tests.patch | 36 ----------------------
12 2 files changed, 69 deletions(-)
13
14 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
15 deleted file mode 100644
16 index a67503861c2..00000000000
17 --- a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch
18 +++ /dev/null
19 @@ -1,33 +0,0 @@
20 ---- test.c.orig 2013-02-05 10:45:22.000000000 -0500
21 -+++ test.c 2013-02-05 10:43:19.000000000 -0500
22 -@@ -282,12 +282,14 @@
23 - static void test_blocking_connection_errors(void) {
24 - redisContext *c;
25 -
26 -+ /*
27 - test("Returns error when host cannot be resolved: ");
28 - c = redisConnect((char*)"idontexist.local", 6379);
29 - test_cond(c->err == REDIS_ERR_OTHER &&
30 - (strcmp(c->errstr,"Name or service not known") == 0 ||
31 - strcmp(c->errstr,"Can't resolve: idontexist.local") == 0));
32 - redisFree(c);
33 -+ */
34 -
35 - test("Returns error when the port is not open: ");
36 - c = redisConnect((char*)"localhost", 1);
37 -@@ -634,6 +636,7 @@
38 - test_reply_reader();
39 - test_blocking_connection_errors();
40 -
41 -+/*
42 - printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port);
43 - cfg.type = CONN_TCP;
44 - test_blocking_connection(cfg);
45 -@@ -645,6 +648,7 @@
46 - test_blocking_connection(cfg);
47 - test_blocking_io_errors(cfg);
48 - if (throughput) test_throughput(cfg);
49 -+*/
50 -
51 - if (fails) {
52 - printf("*** %d TESTS FAILED ***\n", fails);
53
54 diff --git a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch
55 deleted file mode 100644
56 index 2fcbb076d5d..00000000000
57 --- a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch
58 +++ /dev/null
59 @@ -1,36 +0,0 @@
60 -diff --git test.c test.c
61 -index 8fde554..89ed6a0 100644
62 ---- test.c
63 -+++ test.c
64 -@@ -343,6 +343,7 @@ static void test_free_null(void) {
65 - static void test_blocking_connection_errors(void) {
66 - redisContext *c;
67 -
68 -+#if 0
69 - test("Returns error when host cannot be resolved: ");
70 - c = redisConnect((char*)"idontexist.test", 6379);
71 - test_cond(c->err == REDIS_ERR_OTHER &&
72 -@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) {
73 - strcmp(c->errstr,"Temporary failure in name resolution") == 0 ||
74 - strcmp(c->errstr,"no address associated with name") == 0));
75 - redisFree(c);
76 -+#endif
77 -
78 - test("Returns error when the port is not open: ");
79 - c = redisConnect((char*)"localhost", 1);
80 -@@ -773,6 +775,7 @@ int main(int argc, char **argv) {
81 - test_blocking_connection_errors();
82 - test_free_null();
83 -
84 -+#if 0
85 - printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port);
86 - cfg.type = CONN_TCP;
87 - test_blocking_connection(cfg);
88 -@@ -781,6 +784,7 @@ int main(int argc, char **argv) {
89 - test_invalid_timeout_errors(cfg);
90 - test_append_formatted_commands(cfg);
91 - if (throughput) test_throughput(cfg);
92 -+#endif
93 -
94 - printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path);
95 - cfg.type = CONN_UNIX;