summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/radix/quic_tests.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/radix/quic_tests.c b/test/radix/quic_tests.c
index 3398c9d4d5..4f4c9118af 100644
--- a/test/radix/quic_tests.c
+++ b/test/radix/quic_tests.c
@@ -24,10 +24,25 @@ DEF_SCRIPT(simple_conn, "simple connection to server")
OP_READ_EXPECT_B(C, "orange");
}
+DEF_SCRIPT(simple_thread_child,
+ "test that RADIX multithreading is working (child)")
+{
+}
+
+DEF_SCRIPT(simple_thread,
+ "test that RADIX multithreading is working")
+{
+ size_t i;
+
+ for (i = 0; i < 2; ++i)
+ OP_SPAWN_THREAD(simple_thread_child);
+}
+
/*
* List of Test Scripts
* ============================================================================
*/
static SCRIPT_INFO *const scripts[] = {
USE(simple_conn)
+ USE(simple_thread)
};