Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b1fa77d0
Unverified
Commit
b1fa77d0
authored
Aug 09, 2019
by
Mark Nunberg
Committed by
GitHub
Aug 09, 2019
Browse files
Merge pull request #665 from ghost/musl-test-compat
test: fix errstr matching for musl libc
parents
99cdec37
993af771
Changes
1
Show whitespace changes
Inline
Side-by-side
test.c
View file @
b1fa77d0
...
...
@@ -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
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment