forked from Imagelibrary/rtems
2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp07/sp07.scn, sp07/task1.c, sp09/screen01.c, sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen14.c, sp09/sp09.scn, sp25/sp25.scn, sp25/task1.c: Added several test cases to improve test coverage.
This commit is contained in:
@@ -142,7 +142,7 @@ void Screen5()
|
||||
RTEMS_INVALID_ID,
|
||||
"rtems_semaphore_delete with illegal id"
|
||||
);
|
||||
puts( "TA1 - rtems_semaphore_delete - unknown RTEMS_INVALID_ID" );
|
||||
puts( "TA1 - rtems_semaphore_delete - RTEMS_INVALID_ID" );
|
||||
|
||||
status = rtems_semaphore_delete( 0x010100 );
|
||||
fatal_directive_status(
|
||||
@@ -167,4 +167,20 @@ void Screen5()
|
||||
"rtems_semaphore_ident will illegal name (global)"
|
||||
);
|
||||
puts( "TA1 - rtems_semaphore_ident - local RTEMS_INVALID_NAME" );
|
||||
|
||||
status = rtems_semaphore_release( 100 );
|
||||
fatal_directive_status(
|
||||
status,
|
||||
RTEMS_INVALID_ID,
|
||||
"rtems_semaphore_release with illegal id"
|
||||
);
|
||||
puts( "TA1 - rtems_semaphore_release - RTEMS_INVALID_ID" );
|
||||
|
||||
status = rtems_semaphore_flush( 100 );
|
||||
fatal_directive_status(
|
||||
status,
|
||||
RTEMS_INVALID_ID,
|
||||
"rtems_semaphore_flush with illegal id"
|
||||
);
|
||||
puts( "TA1 - rtems_semaphore_flush - RTEMS_INVALID_ID" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user