2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>

* sp43/init.c, sp43/sp43.scn: Minor correction to test case so it hits
	the intended code.
This commit is contained in:
Joel Sherrill
2009-09-14 20:07:32 +00:00
parent d5ef083689
commit 0f4de1e33b
3 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Minor correction to test case so it hits
the intended code.
2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com> 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Revert accidentally committed lines. * configure.ac: Revert accidentally committed lines.

View File

@@ -449,14 +449,16 @@ rtems_task Init(
* needs this. This is a "good" Id in that is it in range, but bad in * needs this. This is a "good" Id in that is it in range, but bad in
* that it has not been allocated so the local_table pointer is NULL. * that it has not been allocated so the local_table pointer is NULL.
*/ */
puts( "rtems_semaphore_release - good but uncreated ID - INVALID_ID - OK" ); puts( "rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK" );
sc = rtems_semaphore_release( sc = rtems_semaphore_obtain(
rtems_build_id( rtems_build_id(
OBJECTS_CLASSIC_API, OBJECTS_CLASSIC_API,
OBJECTS_RTEMS_SEMAPHORES, OBJECTS_RTEMS_SEMAPHORES,
1, 1,
rtems_configuration_get_maximum_semaphores() rtems_configuration_get_maximum_semaphores()
) ),
RTEMS_DEFAULT_OPTIONS,
0
); );
fatal_directive_status( sc, RTEMS_INVALID_ID, "rtems_semaphore_obtain" ); fatal_directive_status( sc, RTEMS_INVALID_ID, "rtems_semaphore_obtain" );

View File

@@ -87,5 +87,5 @@ rtems_task_set_priority - use valid Idle thread id
rtems_task_set_priority - clobber internal thread class info rtems_task_set_priority - clobber internal thread class info
rtems_task_set_priority - use valid Idle thread id again rtems_task_set_priority - use valid Idle thread id again
rtems_task_set_priority - restore internal thread class info rtems_task_set_priority - restore internal thread class info
rtems_semaphore_release - good but uncreated ID - INVALID_ID - OK rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK
*** END OF TEST 43 *** *** END OF TEST 43 ***