aboutsummaryrefslogtreecommitdiffstats
path: root/main/hiredis/musl-test.patch
blob: 400f4a9d56d2195d8f4a79e4ff7283ddcdc6fa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- hiredis-0.14.0/test.c
+++ hiredis-0.14.0_p/test.c
@@ -439,6 +439,8 @@
     c = redisConnect((char*)"idontexist.test", 6379);
     test_cond(c->err == REDIS_ERR_OTHER &&
         (strcmp(c->errstr,"Name or service not known") == 0 ||
+         strcmp(c->errstr,"Name does not resolve") == 0 ||
+         strcmp(c->errstr,"Try again") == 0 ||
          strcmp(c->errstr,"Can't resolve: idontexist.test") == 0 ||
          strcmp(c->errstr,"nodename nor servname provided, or not known") == 0 ||
          strcmp(c->errstr,"No address associated with hostname") == 0 ||