summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen14.c
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-27 20:44:55 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-27 20:44:55 +0000
commit4650a44c07979b54a5c88f74e3815673a634ee17 (patch)
tree6dc9d61f5e87bd3018e4c0037a639876b3ae3e58 /testsuites/sptests/sp09/screen14.c
parent2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff)
downloadrtems-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/screen14.c')
-rw-r--r--testsuites/sptests/sp09/screen14.c13
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 );