diff options
Diffstat (limited to 'testsuites/sptests/sp09/screen01.c')
-rw-r--r-- | testsuites/sptests/sp09/screen01.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/testsuites/sptests/sp09/screen01.c b/testsuites/sptests/sp09/screen01.c index 25b41eb5eb..4f94bba4c5 100644 --- a/testsuites/sptests/sp09/screen01.c +++ b/testsuites/sptests/sp09/screen01.c @@ -2,10 +2,6 @@ * * This routine generates error screen 1 for test 9. * - * Input parameters: NONE - * - * Output parameters: NONE - * * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * @@ -26,6 +22,16 @@ void Screen1() rtems_task_priority previous_priority; rtems_status_code status; + /* bad Id */ + status = rtems_task_is_suspended( 100 ); + fatal_directive_status( + status, + RTEMS_INVALID_ID, + "rtems_task_set_priority with illegal id" + ); + puts( "TA1 - rtems_task_is_suspended - RTEMS_INVALID_ID" ); + + /* bad Id */ status = rtems_task_delete( 100 ); fatal_directive_status( status, |