From c642079a8055a84be770a6eb44e66bcbb42820bd Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Thu, 8 Jan 2015 17:26:22 -0500 Subject: Update test error message detection for dead hosts Fixes #294 --- test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test.c b/test.c index 93116bd..3f9946f 100644 --- a/test.c +++ b/test.c @@ -341,6 +341,7 @@ static void test_blocking_connection_errors(void) { 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,"Temporary failure in name resolution") == 0 || strcmp(c->errstr,"no address associated with name") == 0)); redisFree(c); -- cgit v1.2.3