summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/condvar01/test_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/condvar01/test_main.c b/testsuite/condvar01/test_main.c
index 53c98152..09c08fa4 100644
--- a/testsuite/condvar01/test_main.c
+++ b/testsuite/condvar01/test_main.c
@@ -371,6 +371,7 @@ test_main(void)
rtems_resource_snapshot_take(&snapshot);
+ mtx_init(&ctx->mtx, "test", NULL, MTX_DEF);
cv_init(&ctx->cv, "test");
assert(strcmp(cv_wmesg(&ctx->cv), "test") == 0);