summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-12-07 10:47:15 +0000
committerDavid Carlier <devnexen@gmail.com>2020-12-07 10:47:15 +0000
commit664c415e7fcc4551a30c2fed7c92d435fd812d7b (patch)
treef12a96426292704f58bc9b1eeab24b19fa035943
parente4a200040a1f8f5b674e4b753cbc604d500fe05c (diff)
Illumos test fixes, error message difference fot bad hostname test.
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 7e7e1cb..854598e 100644
--- a/test.c
+++ b/test.c
@@ -657,6 +657,7 @@ static void test_blocking_connection_errors(void) {
strcmp(c->errstr, "Can't resolve: " HIREDIS_BAD_DOMAIN) == 0 ||
strcmp(c->errstr, "Name does not resolve") == 0 ||
strcmp(c->errstr, "nodename nor servname provided, or not known") == 0 ||
+ strcmp(c->errstr, "node name or service name 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 ||