summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2019-08-09 03:48:56 -0400
committerGitHub <noreply@github.com>2019-08-09 03:48:56 -0400
commitb1fa77d02330045ab5865cd6505f0863882f2656 (patch)
tree1537b77072a741d07d9b96125cc8ee0999f8aba9
parent99cdec371fc85e689e1d80761dbd50a2ce9c4c38 (diff)
parent993af7710ef2f9e72b5bf2c27e15227bbcaf6a9c (diff)
Merge pull request #665 from ghost/musl-test-compat
test: fix errstr matching for musl libc
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 4af99b2..05c5ee3 100644
--- a/test.c
+++ b/test.c
@@ -450,6 +450,7 @@ static void test_blocking_connection_errors(void) {
c->err == REDIS_ERR_OTHER &&
(strcmp(c->errstr, "Name or service not known") == 0 ||
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, "No address associated with hostname") == 0 ||