Changeset e8c902c in rtems


Ignore:
Timestamp:
11/12/99 21:26:54 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
624d7ca4
Parents:
8ed3125d
Message:

+ Added check for priority over 256.
+ Modified output to correctly state the error.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/itrontests/itrontask02/init.c

    r8ed3125d re8c902c  
    332332 
    333333   puts( "\n\n*** Rotate Ready Queue Errors ***" );
    334    puts( "Init - rot_rdq - invalid priority - E_PAR" );
     334   puts( "Init - rot_rdq - priority  -1 - E_PAR" );
    335335   status = rot_rdq( -1 );
     336   assert( status == E_PAR );
     337   puts( "Init - rot_rdq - priority  257 - E_PAR" );
     338   status = rot_rdq( 257 );
    336339   assert( status == E_PAR );
    337340
  • testsuites/itrontests/itrontask02/init.c

    r8ed3125d re8c902c  
    332332 
    333333   puts( "\n\n*** Rotate Ready Queue Errors ***" );
    334    puts( "Init - rot_rdq - invalid priority - E_PAR" );
     334   puts( "Init - rot_rdq - priority  -1 - E_PAR" );
    335335   status = rot_rdq( -1 );
     336   assert( status == E_PAR );
     337   puts( "Init - rot_rdq - priority  257 - E_PAR" );
     338   status = rot_rdq( 257 );
    336339   assert( status == E_PAR );
    337340
Note: See TracChangeset for help on using the changeset viewer.