diff options
author | Mark Nunberg <mnunberg@users.noreply.github.com> | 2019-08-09 03:48:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 03:48:56 -0400 |
commit | b1fa77d02330045ab5865cd6505f0863882f2656 (patch) | |
tree | 1537b77072a741d07d9b96125cc8ee0999f8aba9 | |
parent | 99cdec371fc85e689e1d80761dbd50a2ce9c4c38 (diff) | |
parent | 993af7710ef2f9e72b5bf2c27e15227bbcaf6a9c (diff) |
Merge pull request #665 from ghost/musl-test-compat
test: fix errstr matching for musl libc
-rw-r--r-- | test.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 || |