diff options
Diffstat (limited to 'testsuites/sptests/sp09/screen09.c')
-rw-r--r-- | testsuites/sptests/sp09/screen09.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/sptests/sp09/screen09.c b/testsuites/sptests/sp09/screen09.c index dfd725d2d7..5d50ec9667 100644 --- a/testsuites/sptests/sp09/screen09.c +++ b/testsuites/sptests/sp09/screen09.c @@ -63,6 +63,7 @@ void Screen9() puts( "TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS" ); #endif + /* send invalid id */ status = rtems_signal_send( 100, RTEMS_SIGNAL_1 ); fatal_directive_status( status, @@ -71,6 +72,16 @@ void Screen9() ); puts( "TA1 - rtems_signal_send - RTEMS_INVALID_ID" ); + /* no signal in set */ + status = rtems_signal_send( RTEMS_SELF, 0 ); + fatal_directive_status( + status, + RTEMS_INVALID_NUMBER, + "rtems_signal_send with no signals" + ); + puts( "TA1 - rtems_signal_send - RTEMS_INVALID_NUMBER" ); + + /* no signal handler */ status = rtems_signal_send( RTEMS_SELF, RTEMS_SIGNAL_16 ); fatal_directive_status( status, |