diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:57:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:57:50 +0000 |
commit | 012bb569b36bea365d3dd65db27360d70d5ae43f (patch) | |
tree | f520a1184c0cd355f0ecee1ac795eadbf5cd7c06 /testsuites/sptests/sp09/screen01.c | |
parent | Moved cpuuse.h to rtems subdirectory. (diff) | |
download | rtems-012bb569b36bea365d3dd65db27360d70d5ae43f.tar.bz2 |
Insure that the same output occurs when multiprocessing is disabled.
Diffstat (limited to 'testsuites/sptests/sp09/screen01.c')
-rw-r--r-- | testsuites/sptests/sp09/screen01.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/sptests/sp09/screen01.c b/testsuites/sptests/sp09/screen01.c index e3d0359837..ba1d257f51 100644 --- a/testsuites/sptests/sp09/screen01.c +++ b/testsuites/sptests/sp09/screen01.c @@ -74,12 +74,24 @@ void Screen1() ); puts( "TA1 - rtems_task_ident - local RTEMS_INVALID_NAME" ); + /* + * This one case is different if MP is enabled/disabled. + */ + status = rtems_task_ident( 100, 2, &Junk_id ); +#if defined(RTEMS_MULTIPROCESSING) fatal_directive_status( status, RTEMS_INVALID_NODE, "rtems_task_ident with illegal node" ); +#else + fatal_directive_status( + status, + RTEMS_INVALID_NAME, + "rtems_task_ident with illegal node" + ); +#endif puts( "TA1 - rtems_task_ident - RTEMS_INVALID_NODE" ); status = rtems_task_restart( 100, 0 ); |