Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jarl
tor
Commits
0825fc6a
Unverified
Commit
0825fc6a
authored
8 years ago
by
Neel Chauhan
Committed by
teor
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add all four error messages to test_address_get_if_addrs6_list_no_internal()
parent
01492d38
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/test_address.c
+5
-2
5 additions, 2 deletions
src/test/test_address.c
with
5 additions
and
2 deletions
src/test/test_address.c
+
5
−
2
View file @
0825fc6a
...
...
@@ -848,8 +848,11 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
results
=
get_interface_address6_list
(
LOG_ERR
,
AF_INET6
,
0
);
tt_int_op
(
smartlist_len
(
mock_saved_logs
()),
OP_LE
,
1
);
if
(
smartlist_len
(
mock_saved_logs
())
==
1
)
{
expect_log_msg_containing_either
(
"connect() failed"
,
"unable to create socket"
);
expect_log_msg_containing_either4
(
"connect() failed"
,
"unable to create socket"
,
"Address that we determined via UDP socket magic is unsuitable for public comms."
,
"getsockname() to determine interface failed"
);
}
teardown_capture_of_logs
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment