diff options
Diffstat (limited to 'testsuites/sptests/sp51/init.c')
-rw-r--r-- | testsuites/sptests/sp51/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp51/init.c b/testsuites/sptests/sp51/init.c index fba2206ec3..98d362f89c 100644 --- a/testsuites/sptests/sp51/init.c +++ b/testsuites/sptests/sp51/init.c @@ -52,10 +52,10 @@ rtems_task Init( fatal_directive_status( sc, RTEMS_INVALID_PRIORITY, "rtems_semaphore_obtain" ); - /* This returns successful because RTEMS eats the unneeded unlock */ puts( "Release semaphore we did not obtain" ); sc = rtems_semaphore_release( mutex ); - directive_failed( sc, "rtems_semaphore_release" ); + fatal_directive_status( + sc, RTEMS_NOT_OWNER_OF_RESOURCE, "rtems_semaphore_release" ); TEST_END(); rtems_test_exit( 0 ); |