diff options
author | Bjorn Larsson <bjornlarsson@oarcorp.com> | 2014-03-25 12:51:14 -0500 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-03-28 12:32:38 -0500 |
commit | abc833bd5670b73ef8497d7eb2cbff87fac9f7ea (patch) | |
tree | d7c7e9793c1d1009b2c2565971ebb1d8eb03c80e /testsuites/sptests/sp09/screen09.c | |
parent | spsignal_err01: New test split from sp09. (diff) | |
download | rtems-abc833bd5670b73ef8497d7eb2cbff87fac9f7ea.tar.bz2 |
spport_err01: New test split from sp09
This test verifies rtems_port_XXX error tests from sp09 screen 9.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spport_err01/init.c (renamed from testsuites/sptests/sp09/screen09.c) | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/testsuites/sptests/sp09/screen09.c b/testsuites/sptests/spport_err01/init.c index f0c0ccc218..78a5bde87a 100644 --- a/testsuites/sptests/sp09/screen09.c +++ b/testsuites/sptests/spport_err01/init.c @@ -1,30 +1,30 @@ -/* Screen9 - * - * This routine generates error screen 9 for test 9. - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-2009. +/* + * COPYRIGHT (c) 2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. + * http://www.rtems.com/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#define CONFIGURE_INIT #include "system.h" -void Screen9() +const char rtems_test_name[] = "SP PORT ERROR 01"; + +rtems_task Init( + rtems_task_argument argument +) { void *converted; rtems_status_code status; - + + TEST_BEGIN(); + Port_name[ 1 ] = rtems_build_name( 'D', 'P', '1', ' ' ); status = rtems_port_create( 0, Internal_port_area, @@ -147,4 +147,6 @@ void Screen9() "rtems_port_internal_to_external with NULL param" ); puts( "TA1 - rtems_port_external_to_internal - RTEMS_INVALID_ADDRESS" ); + + TEST_END(); } |