summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolgeni <olgeni@olgeni.com>2015-09-16 12:10:29 +0200
committerJan-Erik Rediger <janerik@fnordig.de>2015-09-16 12:24:03 +0200
commit3d4b5c29ba3d12c7e73c976c464c787d021551a0 (patch)
tree657df568d13c51b7b7b2d04d0f299ae4d7809849
parent3c3a406ec402b2a0ca752c58b43139af7bdaa715 (diff)
Add FreeBSD message to test_blocking_connection_errors.
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 8fde554..d5e8217 100644
--- a/test.c
+++ b/test.c
@@ -351,6 +351,7 @@ static void test_blocking_connection_errors(void) {
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,"hostname nor servname provided, or not known") == 0 ||
strcmp(c->errstr,"no address associated with name") == 0));
redisFree(c);