diff -ru hiredis-0.11.0.orig/test.c hiredis-0.11.0/test.c --- hiredis-0.11.0.orig/test.c 2012-08-28 02:55:52.000000000 -0400 +++ hiredis-0.11.0/test.c 2014-03-02 17:49:24.396739767 -0500 @@ -286,6 +286,7 @@ c = redisConnect((char*)"idontexist.local", 6379); test_cond(c->err == REDIS_ERR_OTHER && (strcmp(c->errstr,"Name or service not known") == 0 || + strcmp(c->errstr,"Temporary failure in name resolution") == 0 || strcmp(c->errstr,"Can't resolve: idontexist.local") == 0)); redisFree(c);