Fix "host cannot be resolved test" test

Closes #186
This commit is contained in:
ripcurld00d 2013-07-29 19:35:48 +03:00 committed by Matt Stancliff
parent ae30d58ff9
commit 303a0421ef
1 changed files with 1 additions and 0 deletions

1
test.c
View File

@ -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);