Changeset 0f4de1e in rtems


Ignore:
Timestamp:
Sep 14, 2009, 8:07:32 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
37008d0
Parents:
d5ef0836
Message:

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

  • sp43/init.c, sp43/sp43.scn: Minor correction to test case so it hits the intended code.
Location:
testsuites/sptests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rd5ef0836 r0f4de1e  
     12009-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * sp43/init.c, sp43/sp43.scn: Minor correction to test case so it hits
     4        the intended code.
     5
    162009-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • testsuites/sptests/sp43/init.c

    rd5ef0836 r0f4de1e  
    450450   *  that it has not been allocated so the local_table pointer is NULL.
    451451   */
    452   puts( "rtems_semaphore_release - good but uncreated ID - INVALID_ID - OK" );
    453   sc = rtems_semaphore_release(
     452  puts( "rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK" );
     453  sc = rtems_semaphore_obtain(
    454454    rtems_build_id(
    455455      OBJECTS_CLASSIC_API,
     
    457457      1,
    458458      rtems_configuration_get_maximum_semaphores()
    459     )
     459    ),
     460    RTEMS_DEFAULT_OPTIONS,
     461    0
    460462  );
    461463  fatal_directive_status( sc, RTEMS_INVALID_ID, "rtems_semaphore_obtain" );
  • testsuites/sptests/sp43/sp43.scn

    rd5ef0836 r0f4de1e  
    8888rtems_task_set_priority - use valid Idle thread id again
    8989rtems_task_set_priority - restore internal thread class info
    90 rtems_semaphore_release - good but uncreated ID - INVALID_ID - OK
     90rtems_semaphore_obtain - good but uncreated ID - INVALID_ID - OK
    9191*** END OF TEST 43 ***
Note: See TracChangeset for help on using the changeset viewer.