diff options
author | Neel Chauhan <neel@neelc.org> | 2016-11-15 20:35:48 -0500 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-11-16 12:57:09 +1100 |
commit | 01492d3869a49ff005dd8590e11466dd3cc0045a (patch) | |
tree | 4839246cac82bca1fb22e16a54b6c55ec0e50e38 /src/test/test_address.c | |
parent | cccc08ad565f340bd4e6d19d0137bc45ced93107 (diff) | |
download | tor-01492d3869a49ff005dd8590e11466dd3cc0045a.tar.gz tor-01492d3869a49ff005dd8590e11466dd3cc0045a.zip |
Add all four error messages to test_address_get_if_addrs6_list_internal()
Diffstat (limited to 'src/test/test_address.c')
-rw-r--r-- | src/test/test_address.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test_address.c b/src/test/test_address.c index e52779cb64..e0a5ea4f0c 100644 --- a/src/test/test_address.c +++ b/src/test/test_address.c @@ -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(); |