]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Bug 23512: Test fix: cmux is now allocated by new_fake_channel()
authorMike Perry <mikeperry-git@torproject.org>
Fri, 14 Sep 2018 20:45:21 +0000 (20:45 +0000)
committerMike Perry <mikeperry-git@torproject.org>
Mon, 17 Sep 2018 23:31:48 +0000 (23:31 +0000)
src/test/test_relay.c

index 5e226ade543f3f445a05173f2391b304d23d4144..ffb01344266e41132bee570f58561104550729c9 100644 (file)
@@ -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);