diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/hiredis/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/hiredis/files')
-rw-r--r-- | dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch | 33 | ||||
-rw-r--r-- | dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch | 36 |
2 files changed, 69 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..a67503861c24 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch @@ -0,0 +1,33 @@ +--- test.c.orig 2013-02-05 10:45:22.000000000 -0500 ++++ test.c 2013-02-05 10:43:19.000000000 -0500 +@@ -282,12 +282,14 @@ + static void test_blocking_connection_errors(void) { + redisContext *c; + ++ /* + test("Returns error when host cannot be resolved: "); + c = redisConnect((char*)"idontexist.local", 6379); + test_cond(c->err == REDIS_ERR_OTHER && + (strcmp(c->errstr,"Name or service not known") == 0 || + strcmp(c->errstr,"Can't resolve: idontexist.local") == 0)); + redisFree(c); ++ */ + + test("Returns error when the port is not open: "); + c = redisConnect((char*)"localhost", 1); +@@ -634,6 +636,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 +648,7 @@ + test_blocking_connection(cfg); + test_blocking_io_errors(cfg); + if (throughput) test_throughput(cfg); ++*/ + + if (fails) { + printf("*** %d TESTS FAILED ***\n", fails); 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 new file mode 100644 index 000000000000..2fcbb076d5df --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch @@ -0,0 +1,36 @@ +diff --git test.c test.c +index 8fde554..89ed6a0 100644 +--- test.c ++++ test.c +@@ -343,6 +343,7 @@ static void test_free_null(void) { + static void test_blocking_connection_errors(void) { + redisContext *c; + ++#if 0 + test("Returns error when host cannot be resolved: "); + c = redisConnect((char*)"idontexist.test", 6379); + test_cond(c->err == REDIS_ERR_OTHER && +@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) { + strcmp(c->errstr,"Temporary failure in name resolution") == 0 || + strcmp(c->errstr,"no address associated with name") == 0)); + redisFree(c); ++#endif + + test("Returns error when the port is not open: "); + c = redisConnect((char*)"localhost", 1); +@@ -773,6 +775,7 @@ int main(int argc, char **argv) { + test_blocking_connection_errors(); + test_free_null(); + ++#if 0 + printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); + cfg.type = CONN_TCP; + test_blocking_connection(cfg); +@@ -781,6 +784,7 @@ int main(int argc, char **argv) { + test_invalid_timeout_errors(cfg); + test_append_formatted_commands(cfg); + if (throughput) test_throughput(cfg); ++#endif + + printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path); + cfg.type = CONN_UNIX; |