--- hiredis-0.14.0/test.c +++ hiredis-0.14.0_p/test.c @@ -439,6 +439,8 @@ c = redisConnect((char*)"idontexist.test", 6379); test_cond(c->err == REDIS_ERR_OTHER && (strcmp(c->errstr,"Name or service not known") == 0 || + strcmp(c->errstr,"Name does not resolve") == 0 || + strcmp(c->errstr,"Try again") == 0 || strcmp(c->errstr,"Can't resolve: idontexist.test") == 0 || strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 || strcmp(c->errstr,"No address associated with hostname") == 0 ||