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

commit ec7fd08ccfa878c35170bdab648bb7506da7df7d Author: George Kadianakis <desnacked@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);
participants (1)
-
arma@torproject.org