commit 34ad7642c8da894e459be09a3f051cb8f09cba31 Author: Nick Mathewson nickm@torproject.org Date: Fri Jul 19 10:17:00 2013 -0400
Regression test for destroy cell queue
This exercises the code that crashed and caused #9296. --- src/test/include.am | 1 + src/test/test.c | 2 ++ 2 files changed, 3 insertions(+)
diff --git a/src/test/include.am b/src/test/include.am index 6271909..fb704d7 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -20,6 +20,7 @@ src_test_test_SOURCES = \ src/test/test_addr.c \ src/test/test_cell_formats.c \ src/test/test_circuitlist.c \ + src/test/test_circuitmux.c \ src/test/test_containers.c \ src/test/test_crypto.c \ src/test/test_cell_queue.c \ diff --git a/src/test/test.c b/src/test/test.c index 9640169..60fbfb1 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -2133,6 +2133,7 @@ extern struct testcase_t introduce_tests[]; extern struct testcase_t replaycache_tests[]; extern struct testcase_t cell_format_tests[]; extern struct testcase_t circuitlist_tests[]; +extern struct testcase_t circuitmux_tests[]; extern struct testcase_t cell_queue_tests[]; extern struct testcase_t options_tests[];
@@ -2152,6 +2153,7 @@ static struct testgroup_t testgroups[] = { { "replaycache/", replaycache_tests }, { "introduce/", introduce_tests }, { "circuitlist/", circuitlist_tests }, + { "circuitmux/", circuitmux_tests }, { "options/", options_tests }, END_OF_GROUPS };