aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_pt.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2012-05-18 20:52:24 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2012-05-18 20:52:24 +0300
commitec7fd08ccfa878c35170bdab648bb7506da7df7d (patch)
tree35d837e37f6dedff9a5695200ba9115c7df18ad4 /src/test/test_pt.c
parent466276faa50c4cb31857dfea2ae9e1612aae3911 (diff)
downloadtor-ec7fd08ccfa878c35170bdab648bb7506da7df7d.tar.gz
tor-ec7fd08ccfa878c35170bdab648bb7506da7df7d.zip
Fix the unittest breakage introduced by a8a862c.
Diffstat (limited to 'src/test/test_pt.c')
-rw-r--r--src/test/test_pt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/test_pt.c b/src/test/test_pt.c
index 201f78ea50..fde64ab28e 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);