summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorripcurld00d <boazyeah@gmail.com>2013-07-29 19:35:48 +0300
committerMatt Stancliff <matt@genges.com>2014-04-09 17:02:42 -0400
commit303a0421ef0dd347715f4249e1620d04a832d7e9 (patch)
treef2c9f2ce73240273e9a9167567bd6fb9610790f4
parentae30d58ff91061e0b0f889f60a9ab2062fa4e9d0 (diff)
Fix "host cannot be resolved test" test
Closes #186
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 75548b1..e937624 100644
--- a/test.c
+++ b/test.c
@@ -305,6 +305,7 @@ static void test_blocking_connection_errors(void) {
(strcmp(c->errstr,"Name or service not known") == 0 ||
strcmp(c->errstr,"Can't resolve: idontexist.local") == 0 ||
strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 ||
+ strcmp(c->errstr,"No address associated with hostname") == 0 ||
strcmp(c->errstr,"no address associated with name") == 0));
redisFree(c);