diff options
Diffstat (limited to 'testsuites/sptests/sp09/screen12.c')
-rw-r--r-- | testsuites/sptests/sp09/screen12.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen12.c b/testsuites/sptests/sp09/screen12.c index 749f56a020..069f578a76 100644 --- a/testsuites/sptests/sp09/screen12.c +++ b/testsuites/sptests/sp09/screen12.c @@ -6,7 +6,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -127,6 +127,18 @@ void Screen12() directive_failed( status, "rtems_region_create" ); puts( "TA1 - rtems_region_create - RTEMS_SUCCESSFUL" ); + status = rtems_region_extend( + Region_id[ 1 ], + &Region_good_area[ REGION_START_OFFSET ], + REGION_LENGTH - 1 + ); + fatal_directive_status( + status, + RTEMS_INVALID_ADDRESS, + "rtems_region_extend with address in heap" + ); + puts( "TA1 - rtems_region_extend - address within - RTEMS_INVALID_ADDRESS" ); + status = rtems_region_create( Region_name[ 1 ], Region_good_area, |