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
9219f7e7
Unverified
Commit
9219f7e7
authored
Aug 29, 2022
by
Michael Grunder
Committed by
GitHub
Aug 29, 2022
Browse files
Merge pull request #901 from devnexen/illumos_test_fix
Illumos test fixes, error message difference fot bad hostname test.
parents
810cc610
664c415e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
9219f7e7
...
@@ -836,6 +836,7 @@ static void test_blocking_connection_errors(void) {
...
@@ -836,6 +836,7 @@ static void test_blocking_connection_errors(void) {
strcmp
(
c
->
errstr
,
"Can't resolve: "
HIREDIS_BAD_DOMAIN
)
==
0
||
strcmp
(
c
->
errstr
,
"Can't resolve: "
HIREDIS_BAD_DOMAIN
)
==
0
||
strcmp
(
c
->
errstr
,
"Name does not resolve"
)
==
0
||
strcmp
(
c
->
errstr
,
"Name does not resolve"
)
==
0
||
strcmp
(
c
->
errstr
,
"nodename nor servname provided, or not known"
)
==
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
,
"No address associated with hostname"
)
==
0
||
strcmp
(
c
->
errstr
,
"Temporary failure in name resolution"
)
==
0
||
strcmp
(
c
->
errstr
,
"Temporary failure in name resolution"
)
==
0
||
strcmp
(
c
->
errstr
,
"hostname nor servname provided, or not known"
)
==
0
||
strcmp
(
c
->
errstr
,
"hostname nor servname provided, or not known"
)
==
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