diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-02 18:07:47 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-02 18:07:47 -0500 |
commit | 885a50c4a42f0b530d4f756d34862c89f2987556 (patch) | |
tree | 0286f39fd2072b56a6bf7cc72644350389e45edd /pcr/hiredis/hiredis-fix-tests.patch | |
parent | f998b49040c528d1daf7d2f739c477a956292c4a (diff) |
update pcr/hiredis
Diffstat (limited to 'pcr/hiredis/hiredis-fix-tests.patch')
-rw-r--r-- | pcr/hiredis/hiredis-fix-tests.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/hiredis/hiredis-fix-tests.patch b/pcr/hiredis/hiredis-fix-tests.patch new file mode 100644 index 000000000..51e49bf71 --- /dev/null +++ b/pcr/hiredis/hiredis-fix-tests.patch @@ -0,0 +1,11 @@ +diff -ru hiredis-0.11.0.orig/test.c hiredis-0.11.0/test.c +--- hiredis-0.11.0.orig/test.c 2012-08-28 02:55:52.000000000 -0400 ++++ hiredis-0.11.0/test.c 2014-03-02 17:49:24.396739767 -0500 +@@ -286,6 +286,7 @@ + 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,"Temporary failure in name resolution") == 0 || + strcmp(c->errstr,"Can't resolve: idontexist.local") == 0)); + redisFree(c); + |