[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.9] Add all four error messages to test_address_get_if_addrs6_list_no_internal()



commit 0825fc6af90b2015cb6a4abe6b8682f6f44d64e2
Author: Neel Chauhan <neel@xxxxxxxxx>
Date:   Tue Nov 15 20:36:53 2016 -0500

    Add all four error messages to test_address_get_if_addrs6_list_no_internal()
---
 src/test/test_address.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/test/test_address.c b/src/test/test_address.c
index e0a5ea4..fa32cf9 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -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();
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits