]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add all four error messages to test_address_get_if_addrs6_list_no_internal()
authorNeel Chauhan <neel@neelc.org>
Wed, 16 Nov 2016 01:36:53 +0000 (20:36 -0500)
committerteor <teor2345@gmail.com>
Wed, 16 Nov 2016 01:57:13 +0000 (12:57 +1100)
src/test/test_address.c

index e0a5ea4f0c791eee51e025917997aa7f7b207082..fa32cf96347ef87cf2e9399728b37be79e6f5f11 100644 (file)
@@ -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();