Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
c642079a
Commit
c642079a
authored
Jan 08, 2015
by
Matt Stancliff
Browse files
Update test error message detection for dead hosts
Fixes #294
parent
74b7495f
Changes
1
Show whitespace changes
Inline
Side-by-side
test.c
View file @
c642079a
...
...
@@ -341,6 +341,7 @@ static void test_blocking_connection_errors(void) {
strcmp
(
c
->
errstr
,
"Can't resolve: idontexist.local"
)
==
0
||
strcmp
(
c
->
errstr
,
"nodename nor servname provided, or not known"
)
==
0
||
strcmp
(
c
->
errstr
,
"No address associated with hostname"
)
==
0
||
strcmp
(
c
->
errstr
,
"Temporary failure in name resolution"
)
==
0
||
strcmp
(
c
->
errstr
,
"no address associated with name"
)
==
0
));
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