summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-21 13:46:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-21 13:48:48 +0200
commit1a506170ccc5031f6ee34c6a60a7dbf6e14eb052 (patch)
treefca9875c94b3266805ff793d042b08aa7cc5713a
parentcd74bd0c6dc32a0df9316f642106b6c980a12e4e (diff)
downloadrtems-1a506170ccc5031f6ee34c6a60a7dbf6e14eb052.tar.bz2
spintrcritical22: Use right thread wait flags
-rw-r--r--testsuites/sptests/spintrcritical22/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spintrcritical22/init.c b/testsuites/sptests/spintrcritical22/init.c
index a73499c888..192a5a98b3 100644
--- a/testsuites/sptests/spintrcritical22/init.c
+++ b/testsuites/sptests/spintrcritical22/init.c
@@ -61,7 +61,7 @@ static T_interrupt_test_state release_semaphore(void *arg)
sem = &ctx->semaphore_control->Core_control.Semaphore;
rtems_test_assert(sem->count == 0);
} else {
- if (flags == (THREAD_WAIT_CLASS_EVENT | THREAD_WAIT_STATE_BLOCKED)) {
+ if (flags == (THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_BLOCKED)) {
state = T_INTERRUPT_TEST_LATE;
} else {
state = T_INTERRUPT_TEST_EARLY;