summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests/itrontask02/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:26:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:26:54 +0000
commite8c902cd411a2f60e916ffcc76566aae2a1aa250 (patch)
tree135b1944633011b0d91e572972a8e1ee4d6d18b5 /testsuites/itrontests/itrontask02/init.c
parentAdded comments for path's tested. (diff)
downloadrtems-e8c902cd411a2f60e916ffcc76566aae2a1aa250.tar.bz2
+ Added check for priority over 256.
+ Modified output to correctly state the error.
Diffstat (limited to '')
-rw-r--r--testsuites/itrontests/itrontask02/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/itrontests/itrontask02/init.c b/testsuites/itrontests/itrontask02/init.c
index 95700f9f59..49c3a1e68b 100644
--- a/testsuites/itrontests/itrontask02/init.c
+++ b/testsuites/itrontests/itrontask02/init.c
@@ -331,9 +331,12 @@ void ITRON_Init( void )
*/
puts( "\n\n*** Rotate Ready Queue Errors ***" );
- puts( "Init - rot_rdq - invalid priority - E_PAR" );
+ puts( "Init - rot_rdq - priority -1 - E_PAR" );
status = rot_rdq( -1 );
assert( status == E_PAR );
+ puts( "Init - rot_rdq - priority 257 - E_PAR" );
+ status = rot_rdq( 257 );
+ assert( status == E_PAR );
#if (0)
/* This routine is not coded */