[tor-commits] [tor/master] Follow-up on 23678: fix socks/wrong_protocol test

nickm at torproject.org nickm at torproject.org
Tue Oct 3 12:18:13 UTC 2017


commit f923aeee1b14c2f64a657049ba46e68d70f53a0f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Oct 3 08:17:41 2017 -0400

    Follow-up on 23678: fix socks/wrong_protocol test
---
 src/test/test_socks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_socks.c b/src/test/test_socks.c
index 156845368..9ae7530e2 100644
--- a/src/test/test_socks.c
+++ b/src/test/test_socks.c
@@ -763,7 +763,7 @@ test_socks_wrong_protocol(void *ptr)
   tt_int_op(fetch_from_buf_socks(buf, socks, 1, 0), OP_EQ, -1);
   buf_clear(buf);
   expect_log_msg_containing("Socks version 71 not recognized. "
-                            "(Tor is not an http proxy.)");
+                            "(This port is not an HTTP proxy;");
   mock_clean_saved_logs();
   socks_request_clear(socks);
 





More information about the tor-commits mailing list