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
303a0421
Commit
303a0421
authored
Jul 29, 2013
by
ripcurld00d
Committed by
Matt Stancliff
Apr 09, 2014
Browse files
Fix "host cannot be resolved test" test
Closes #186
parent
ae30d58f
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
303a0421
...
@@ -305,6 +305,7 @@ static void test_blocking_connection_errors(void) {
...
@@ -305,6 +305,7 @@ static void test_blocking_connection_errors(void) {
(
strcmp
(
c
->
errstr
,
"Name or service not known"
)
==
0
||
(
strcmp
(
c
->
errstr
,
"Name or service not known"
)
==
0
||
strcmp
(
c
->
errstr
,
"Can't resolve: idontexist.local"
)
==
0
||
strcmp
(
c
->
errstr
,
"Can't resolve: idontexist.local"
)
==
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
,
"No address associated with hostname"
)
==
0
||
strcmp
(
c
->
errstr
,
"no address associated with name"
)
==
0
));
strcmp
(
c
->
errstr
,
"no address associated with name"
)
==
0
));
redisFree
(
c
);
redisFree
(
c
);
...
...
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