diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-12 21:26:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-12 21:26:54 +0000 |
commit | e8c902cd411a2f60e916ffcc76566aae2a1aa250 (patch) | |
tree | 135b1944633011b0d91e572972a8e1ee4d6d18b5 /c/src | |
parent | Added comments for path's tested. (diff) | |
download | rtems-e8c902cd411a2f60e916ffcc76566aae2a1aa250.tar.bz2 |
+ Added check for priority over 256.
+ Modified output to correctly state the error.
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/itrontests/itrontask02/init.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/tests/itrontests/itrontask02/init.c b/c/src/tests/itrontests/itrontask02/init.c index 95700f9f59..49c3a1e68b 100644 --- a/c/src/tests/itrontests/itrontask02/init.c +++ b/c/src/tests/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 */ |