From 4650a44c07979b54a5c88f74e3815673a634ee17 Mon Sep 17 00:00:00 2001 From: Glenn Humphrey Date: Tue, 27 Nov 2007 20:44:55 +0000 Subject: 2007-11-27 Glenn Humphrey * 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. --- testsuites/sptests/sp09/screen14.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp09/screen14.c') 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 ); -- cgit v1.2.3