Commit 303a0421 authored by ripcurld00d's avatar ripcurld00d Committed by Matt Stancliff
Browse files

Fix "host cannot be resolved test" test

Closes #186
parent ae30d58f
...@@ -305,6 +305,7 @@ static void test_blocking_connection_errors(void) { ...@@ -305,6 +305,7 @@ static void test_blocking_connection_errors(void) {
(strcmp(c->errstr,"Name or service not known") == 0 || (strcmp(c->errstr,"Name or service not known") == 0 ||
strcmp(c->errstr,"Can't resolve: idontexist.local") == 0 || strcmp(c->errstr,"Can't resolve: idontexist.local") == 0 ||
strcmp(c->errstr,"nodename nor servname provided, or not known") == 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)); strcmp(c->errstr,"no address associated with name") == 0));
redisFree(c); redisFree(c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment