diff options
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spsysinit01/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c index 0d5a1f0020..1f7c1ada25 100644 --- a/testsuites/sptests/spsysinit01/init.c +++ b/testsuites/sptests/spsysinit01/init.c @@ -341,13 +341,13 @@ LAST(RTEMS_SYSINIT_CLASSIC_MESSAGE_QUEUE) FIRST(RTEMS_SYSINIT_CLASSIC_SEMAPHORE) { - assert(_Semaphore_Information.initial_objects[0].id == 0); + assert(info_not_init(&_Semaphore_Information)); next_step(CLASSIC_SEMAPHORE_PRE); } LAST(RTEMS_SYSINIT_CLASSIC_SEMAPHORE) { - assert(_Semaphore_Information.initial_objects[0].id != 0); + assert(info_is_init(&_Semaphore_Information, 1)); next_step(CLASSIC_SEMAPHORE_POST); } |