diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-27 20:44:55 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-27 20:44:55 +0000 |
commit | 4650a44c07979b54a5c88f74e3815673a634ee17 (patch) | |
tree | 6dc9d61f5e87bd3018e4c0037a639876b3ae3e58 /testsuites/sptests/sp09/screen05.c | |
parent | 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff) | |
download | rtems-4650a44c07979b54a5c88f74e3815673a634ee17.tar.bz2 |
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.
Diffstat (limited to 'testsuites/sptests/sp09/screen05.c')
-rw-r--r-- | testsuites/sptests/sp09/screen05.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen05.c b/testsuites/sptests/sp09/screen05.c index 7b27bc6cf4..b20e96dfb4 100644 --- a/testsuites/sptests/sp09/screen05.c +++ b/testsuites/sptests/sp09/screen05.c @@ -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" ); } |