Skip to content

Commit

Permalink
Fix "host cannot be resolved test" test
Browse files Browse the repository at this point in the history
Closes redis#186
  • Loading branch information
ripcurld00d authored and mattsta committed Apr 9, 2014
1 parent ae30d58 commit 303a042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 303a042

Please sign in to comment.