[tor-commits] [tor/release-0.3.4] Bug 23512: Test fix: cmux is now allocated by new_fake_channel()
teor at torproject.org
teor at torproject.org
Wed Mar 13 23:06:43 UTC 2019
commit ad10cafd9f0157e6aaa6f1f68ab7d3ef9b8b1b2e
Author: Mike Perry <mikeperry-git at torproject.org>
Date: Fri Sep 14 20:45:21 2018 +0000
Bug 23512: Test fix: cmux is now allocated by new_fake_channel()
---
src/test/test_relay.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/test/test_relay.c b/src/test/test_relay.c
index 5e226ade5..ffb013442 100644
--- a/src/test/test_relay.c
+++ b/src/test/test_relay.c
@@ -78,10 +78,6 @@ test_relay_close_circuit(void *arg)
pchan = new_fake_channel();
tt_assert(pchan);
- /* We'll need chans with working cmuxes */
- nchan->cmux = circuitmux_alloc();
- pchan->cmux = circuitmux_alloc();
-
/* Make a fake orcirc */
orcirc = new_fake_orcirc(nchan, pchan);
tt_assert(orcirc);
More information about the tor-commits
mailing list