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:
Glenn Humphrey
2007-11-27 20:44:55 +00:00
parent 4d7ae31248
commit 4650a44c07
12 changed files with 371 additions and 50 deletions

View File

@@ -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" );
}