aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_relay.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-09-14 20:45:21 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-09-17 23:31:48 +0000
commitad10cafd9f0157e6aaa6f1f68ab7d3ef9b8b1b2e (patch)
tree581f7253efa02e076116f14bfc3bbea3e2a4a687 /src/test/test_relay.c
parent72cef6102845e556cf58636e47f8d411ba19f456 (diff)
downloadtor-ad10cafd9f0157e6aaa6f1f68ab7d3ef9b8b1b2e.tar.gz
tor-ad10cafd9f0157e6aaa6f1f68ab7d3ef9b8b1b2e.zip
Bug 23512: Test fix: cmux is now allocated by new_fake_channel()
Diffstat (limited to 'src/test/test_relay.c')
-rw-r--r--src/test/test_relay.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_relay.c b/src/test/test_relay.c
index 5e226ade54..ffb0134426 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);