summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen14.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 19:14:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-22 19:14:37 +0000
commit2fc6dc313d92fa45cdd328e88d1747e138766f03 (patch)
tree1ddb710ec84869892576f8a726ccafa61fbee687 /testsuites/sptests/sp09/screen14.c
parent1ad83eb8d83bd2b91ba8b16664cd1726469fed9f (diff)
downloadrtems-2fc6dc313d92fa45cdd328e88d1747e138766f03.tar.bz2
2001-01-22 Joel Sherrill <joel@OARcorp.com>
* sp09/screen14.c, sp09/sp09.scn, sp30/init.c, sp31/init.c: Modified because priority added as argument to rtems_timer_initiate_server().
Diffstat (limited to 'testsuites/sptests/sp09/screen14.c')
-rw-r--r--testsuites/sptests/sp09/screen14.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen14.c b/testsuites/sptests/sp09/screen14.c
index 90a287cf9c..20b166314b 100644
--- a/testsuites/sptests/sp09/screen14.c
+++ b/testsuites/sptests/sp09/screen14.c
@@ -169,7 +169,17 @@ void Screen14()
);
puts( "TA1 - rtems_timer_server_fire_when - RTEMS_INCORRECT_STATE" );
- status = rtems_timer_initiate_server( 0, 0 );
+ status =
+ rtems_timer_initiate_server( 0, 0, 0 );
+ fatal_directive_status(
+ status,
+ RTEMS_INVALID_PRIORITY,
+ "rtems_timer_initiate_server invalid priority"
+ );
+ puts( "TA1 - rtems_timer_initiate_server - RTEMS_INVALID_PRIORITY" );
+
+ status =
+ rtems_timer_initiate_server( RTEMS_TIMER_SERVER_DEFAULT_PRIORITY, 0, 0 );
directive_failed( status, "rtems_timer_initiate_server" );
puts( "TA1 - rtems_timer_initiate_server" );