aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmbox.c')
-rw-r--r--test/testmbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmbox.c b/test/testmbox.c
index 0ba52aa09..1ca34dadc 100644
--- a/test/testmbox.c
+++ b/test/testmbox.c
@@ -80,7 +80,7 @@ static void mbox1_execute(void) {
/*
* Testing initial space.
*/
- test_assert(1, chMBGetFreeCountI(&mb1) == MB_SIZE, "wrong size");
+ test_assert_lock(1, chMBGetFreeCountI(&mb1) == MB_SIZE, "wrong size");
/*
* Testing enqueuing and backward circularity.