diff options
Diffstat (limited to 'testsuites/sptests/sp09/screen14.c')
-rw-r--r-- | testsuites/sptests/sp09/screen14.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/testsuites/sptests/sp09/screen14.c b/testsuites/sptests/sp09/screen14.c index d982a00984..b53ae326e2 100644 --- a/testsuites/sptests/sp09/screen14.c +++ b/testsuites/sptests/sp09/screen14.c @@ -20,8 +20,9 @@ void Screen14() { - rtems_status_code status; - rtems_time_of_day time; + rtems_status_code status; + rtems_time_of_day time; + rtems_timer_information timer_info; status = rtems_timer_create( 0, &Junk_id ); fatal_directive_status( @@ -151,6 +152,14 @@ void Screen14() " - before RTEMS_INVALID_CLOCK\n" ); + status = rtems_timer_get_information( 100, &timer_info ); + fatal_directive_status( + status, + RTEMS_INVALID_ID, + "rtems_timer_get_information with illegal id" + ); + puts( "TA1 - rtems_timer_get_information - RTEMS_INVALID_ID" ); + /* timer server interface routines */ status = rtems_timer_server_fire_after( 0, 5, NULL, NULL ); |