[tor-commits] [tor/master] Fix the unittest breakage introduced by a8a862c.

arma at torproject.org arma at torproject.org
Fri May 18 23:11:49 UTC 2012


commit ec7fd08ccfa878c35170bdab648bb7506da7df7d
Author: George Kadianakis <desnacked at riseup.net>
Date:   Fri May 18 20:52:24 2012 +0300

    Fix the unittest breakage introduced by a8a862c.
---
 src/test/test_pt.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/test/test_pt.c b/src/test/test_pt.c
index 201f78e..fde64ab 100644
--- a/src/test/test_pt.c
+++ b/src/test/test_pt.c
@@ -99,12 +99,6 @@ test_pt_protocol(void)
 
   /* various wrong protocol runs: */
 
-  strcpy(line, "TEST TEST");
-  handle_proxy_line(line, mp);
-  test_assert(mp->conf_state == PT_PROTO_BROKEN);
-
-  reset_mp(mp);
-
   strcpy(line,"VERSION 1");
   handle_proxy_line(line, mp);
   test_assert(mp->conf_state == PT_PROTO_ACCEPTING_METHODS);



More information about the tor-commits mailing list