[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Bug 23512: Test fix: cmux is now allocated by new_fake_channel()
commit ad10cafd9f0157e6aaa6f1f68ab7d3ef9b8b1b2e
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
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);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits