]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Regression test for destroy cell queue
authorNick Mathewson <nickm@torproject.org>
Fri, 19 Jul 2013 14:17:00 +0000 (10:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 19 Jul 2013 14:17:00 +0000 (10:17 -0400)
This exercises the code that crashed and caused #9296.

src/test/include.am
src/test/test.c

index 62719091b8768f6d9fd655c03755195ed6ae8daf..fb704d7185fc46005ec884cf8343ed67f4eafe98 100644 (file)
@@ -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 \
index 96401693cc2fc26e12c08749abd11d91fad8b4ea..60fbfb132cc2d0879f6bd1f7dde648eeb40561de 100644 (file)
@@ -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
 };