mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add all four error messages to test_address_get_if_addrs6_list_internal()
This commit is contained in:
parent
cccc08ad56
commit
01492d3869
@ -808,8 +808,10 @@ test_address_get_if_addrs6_list_internal(void *arg)
|
||||
results = get_interface_address6_list(LOG_ERR, AF_INET6, 1);
|
||||
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user