Changeset 3dbcece in rtems


Ignore:
Timestamp:
Oct 21, 1997, 6:41:36 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
118a812
Parents:
a18ccfe
Message:

Added test case for rtems_interrupt_catch checking that the pointer
for the returned old_isr_handler was non-NULL.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/sp09/screen09.c

    ra18ccfe r3dbcece  
    4444    "rtems_interrupt_catch with invalid handler"
    4545  );
    46   puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_ADDRESS" );
     46  puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
     47
     48  status = rtems_interrupt_catch( Service_routine, 3, NULL );
     49  fatal_directive_status(
     50    status,
     51    RTEMS_INVALID_ADDRESS,
     52    "rtems_interrupt_catch with invalid old isr pointer"
     53  );
     54  puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
    4755
    4856  status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
  • c/src/tests/sptests/sp09/sp09.scn

    ra18ccfe r3dbcece  
    135135<pause - screen 9>
    136136TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER
     137TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS
     138TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS
    137139TA1 - rtems_interrupt_catch - RTEMS_INVALID_ADDRESS
    138140TA1 - rtems_signal_send - RTEMS_INVALID_ID
  • testsuites/sptests/sp09/screen09.c

    ra18ccfe r3dbcece  
    4444    "rtems_interrupt_catch with invalid handler"
    4545  );
    46   puts( "TA1 - rtems_interrupt_catch - RTEMS_INVALID_ADDRESS" );
     46  puts( "TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS" );
     47
     48  status = rtems_interrupt_catch( Service_routine, 3, NULL );
     49  fatal_directive_status(
     50    status,
     51    RTEMS_INVALID_ADDRESS,
     52    "rtems_interrupt_catch with invalid old isr pointer"
     53  );
     54  puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" );
    4755
    4856  status = rtems_signal_send( 100, RTEMS_SIGNAL_1 );
  • testsuites/sptests/sp09/sp09.scn

    ra18ccfe r3dbcece  
    135135<pause - screen 9>
    136136TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER
     137TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS
     138TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS
    137139TA1 - rtems_interrupt_catch - RTEMS_INVALID_ADDRESS
    138140TA1 - rtems_signal_send - RTEMS_INVALID_ID
Note: See TracChangeset for help on using the changeset viewer.