<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-08-10)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>

        PR 1662/filesystem
        * libcsupport/src/termios.c: osem is now released before attempt
        to delete in rtems_termios_close.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2558&r2=text&tr2=1.2559&diff_format=h">M</a></td><td width='1%'>1.2559</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/src/termios.c.diff?r1=text&tr1=1.63&r2=text&tr2=1.64&diff_format=h">M</a></td><td width='1%'>1.64</td><td width='100%'>cpukit/libcsupport/src/termios.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2558 rtems/cpukit/ChangeLog:1.2559
--- rtems/cpukit/ChangeLog:1.2558       Tue Aug 10 12:41:29 2010
+++ rtems/cpukit/ChangeLog      Tue Aug 10 17:15:32 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-08-09        Bharath Suri <bharath.s.jois@gmail.com>
 
<font color='#000088'>+   PR 1662/filesystem
+       * libcsupport/src/termios.c: osem is now released before attempt
+       to delete in rtems_termios_close.
+
+2010-08-09     Bharath Suri <bharath.s.jois@gmail.com>
+
</font>   PR 1660/filesystem
        * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed
        int pipe_release to void pipe_release.

<font color='#006600'>diff -u rtems/cpukit/libcsupport/src/termios.c:1.63 rtems/cpukit/libcsupport/src/termios.c:1.64
--- rtems/cpukit/libcsupport/src/termios.c:1.63 Mon Jul  5 16:31:56 2010
+++ rtems/cpukit/libcsupport/src/termios.c      Tue Aug 10 17:15:32 2010
</font><font color='#997700'>@@ -382,6 +382,7 @@
</font>         rtems_fatal_error_occurred (sc);
       }
       drainOutput (tty);
<font color='#000088'>+      rtems_semaphore_release (tty->osem);
</font>     }
 
     if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-10 Bharath Suri <bharath.s.jois@gmail.com>

        PR 1661/testing
        * termios01/init.c, termios01/termios01.scn: Added a test case to
        hit a case in rtems_termios_read.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.235&r2=text&tr2=1.236&diff_format=h">M</a></td><td width='1%'>1.236</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/termios01/init.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/libtests/termios01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/termios01/termios01.scn.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/libtests/termios01/termios01.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.235 rtems/testsuites/libtests/ChangeLog:1.236
--- rtems/testsuites/libtests/ChangeLog:1.235   Tue Aug 10 09:45:22 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Aug 10 17:31:48 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-08-10    Bharath Suri <bharath.s.jois@gmail.com>
+
+       PR 1661/testing
+       * termios01/init.c, termios01/termios01.scn: Added a test case to
+       hit a case in rtems_termios_read.
+
</font> 2010-08-10        Joel Sherrill <joel.sherrill@oarcorp.com>
 
        PR 1664/testing

<font color='#006600'>diff -u rtems/testsuites/libtests/termios01/init.c:1.13 rtems/testsuites/libtests/termios01/init.c:1.14
--- rtems/testsuites/libtests/termios01/init.c:1.13     Tue Aug 10 09:45:22 2010
+++ rtems/testsuites/libtests/termios01/init.c  Tue Aug 10 17:31:49 2010
</font><font color='#997700'>@@ -462,6 +462,7 @@
</font>   rtems_device_major_number registered;
   int                       test;
   struct termios            t;
<font color='#000088'>+  int index = 0;
</font> 
   puts( "\n\n*** TEST TERMIOS 01 ***" );
 
<font color='#997700'>@@ -591,22 +592,16 @@
</font>     rtems_test_exit(0);
   }
 
<font color='#880000'>-  /*
-  TODO: This must be enabled, but is facing a strange problem<span style="background-color: #FF0000"> </span>
-  where the code dies off at rtems_termios_open.
-  */
</font> 
<font color='#880000'>-  /*
</font>   puts( "Multiple open of the device" );
   for( ; index < 26; ++index ) {
<font color='#880000'>-    printf( "...%d ", index );
</font>     test = open( TERMIOS_TEST_DRIVER_DEVICE_NAME, O_RDWR );
     rtems_test_assert( test != -1 );
     rc = close( test );
     rtems_test_assert( rc == 0 );
   }
   puts( "" );
<font color='#880000'>-  */
</font><font color='#000088'>+
</font>   puts( "*** END OF TEST TERMIOS 01 ***" );
   rtems_test_exit(0);
 }

<font color='#006600'>diff -u rtems/testsuites/libtests/termios01/termios01.scn:1.6 rtems/testsuites/libtests/termios01/termios01.scn:1.7
--- rtems/testsuites/libtests/termios01/termios01.scn:1.6       Mon Aug  9 09:36:47 2010
+++ rtems/testsuites/libtests/termios01/termios01.scn   Tue Aug 10 17:31:49 2010
</font><font color='#997700'>@@ -302,4 +302,58 @@
</font> cfsetispeed(B460800) - OK
 cfgetispeed(B460800) - OK
 Init - close - /dev/test - OK
<font color='#000088'>+Multiple open of the device
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+Termios_test_driver - rtems_set_initial_baud - bad baud - OK
+Termios_test_driver - rtems_set_initial_baud - 38400 - OK
+
</font> *** END OF TEST TERMIOS 01 ***
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>

        PR 1658/cpukit
        * sapi/src/exshutdown.c, score/include/rtems/score/interr.h: If the
        system is not up, consider it a fatal error.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2559&r2=text&tr2=1.2560&diff_format=h">M</a></td><td width='1%'>1.2560</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/sapi/src/exshutdown.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>cpukit/sapi/src/exshutdown.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/include/rtems/score/interr.h.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>cpukit/score/include/rtems/score/interr.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2559 rtems/cpukit/ChangeLog:1.2560
--- rtems/cpukit/ChangeLog:1.2559       Tue Aug 10 17:15:32 2010
+++ rtems/cpukit/ChangeLog      Tue Aug 10 17:56:31 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-08-10    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       PR 1658/cpukit
+       * sapi/src/exshutdown.c, score/include/rtems/score/interr.h: If the
+       system is not up, consider it a fatal error.
+
</font> 2010-08-09        Bharath Suri <bharath.s.jois@gmail.com>
 
        PR 1662/filesystem

<font color='#006600'>diff -u rtems/cpukit/sapi/src/exshutdown.c:1.3 rtems/cpukit/sapi/src/exshutdown.c:1.4
--- rtems/cpukit/sapi/src/exshutdown.c:1.3      Fri Sep  4 08:09:48 2009
+++ rtems/cpukit/sapi/src/exshutdown.c  Tue Aug 10 17:56:35 2010
</font><font color='#997700'>@@ -18,6 +18,7 @@
</font> #include <rtems/system.h>
 #include <rtems/score/sysstate.h>
 #include <rtems/score/thread.h>
<font color='#000088'>+#include <rtems/score/interr.h>
</font> 
 /*
  *  rtems_shutdown_executive
<font color='#997700'>@@ -35,8 +36,14 @@
</font>    uint32_t   result
 )
 {
<font color='#880000'>-  if ( !_System_state_Is_shutdown( _System_state_Get() ) ) {
</font><font color='#000088'>+  if ( _System_state_Is_up( _System_state_Get() ) ) {
</font>     _System_state_Set( SYSTEM_STATE_SHUTDOWN );
     _Thread_Stop_multitasking();
   }
<font color='#000088'>+  _Internal_error_Occurred(
+    INTERNAL_ERROR_CORE,
+    true,
+    INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
+  );
+
</font> }

<font color='#006600'>diff -u rtems/cpukit/score/include/rtems/score/interr.h:1.31 rtems/cpukit/score/include/rtems/score/interr.h:1.32
--- rtems/cpukit/score/include/rtems/score/interr.h:1.31        Wed Jul  7 09:06:52 2010
+++ rtems/cpukit/score/include/rtems/score/interr.h     Tue Aug 10 17:56:35 2010
</font><font color='#997700'>@@ -69,7 +69,8 @@
</font>   INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY,
   INTERNAL_ERROR_IMPLEMENTATION_BLOCKING_OPERATION_CANCEL,
   INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE,
<font color='#880000'>-  INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
</font><font color='#000088'>+  INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0,
+  INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
</font> } Internal_errors_Core_list;
 
 typedef uint32_t Internal_errors_t;
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>

        PR 1658/cpukit
        * Makefile.am, configure.ac: If the system is not up, consider it a
        fatal error. This eliminated sp61 and added spfatal23.
        * spfatal23/.cvsignore, spfatal23/Makefile.am, spfatal23/spfatal23.doc,
        spfatal23/spfatal23.scn, spfatal23/testcase.h: New files.
        * sp61/.cvsignore, sp61/Makefile.am, sp61/init.c, sp61/sp61.doc,
        sp61/sp61.scn: Removed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.414&r2=text&tr2=1.415&diff_format=h">M</a></td><td width='1%'>1.415</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/Makefile.am.diff?r1=text&tr1=1.103&r2=text&tr2=1.104&diff_format=h">M</a></td><td width='1%'>1.104</td><td width='100%'>testsuites/sptests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/configure.ac.diff?r1=text&tr1=1.108&r2=text&tr2=1.109&diff_format=h">M</a></td><td width='1%'>1.109</td><td width='100%'>testsuites/sptests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp61/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp61/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp61/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp61/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp61/init.c?rev=1.3&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.3</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp61/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp61/sp61.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp61/sp61.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp61/sp61.scn?rev=1.1&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.1</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp61/sp61.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal23/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/sptests/spfatal23/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal23/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/sptests/spfatal23/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal23/spfatal23.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/sptests/spfatal23/spfatal23.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal23/spfatal23.scn?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/sptests/spfatal23/spfatal23.scn</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spfatal23/testcase.h?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/sptests/spfatal23/testcase.h</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.414 rtems/testsuites/sptests/ChangeLog:1.415
--- rtems/testsuites/sptests/ChangeLog:1.414    Tue Aug 10 12:34:12 2010
+++ rtems/testsuites/sptests/ChangeLog  Tue Aug 10 17:57:59 2010
</font><font color='#997700'>@@ -1,3 +1,13 @@
</font><font color='#000088'>+2010-08-10    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       PR 1658/cpukit
+       * Makefile.am, configure.ac: If the system is not up, consider it a
+       fatal error. This eliminated sp61 and added spfatal23.
+       * spfatal23/.cvsignore, spfatal23/Makefile.am, spfatal23/spfatal23.doc,
+       spfatal23/spfatal23.scn, spfatal23/testcase.h: New files.
+       * sp61/.cvsignore, sp61/Makefile.am, sp61/init.c, sp61/sp61.doc,
+       sp61/sp61.scn: Removed.
+
</font> 2010-08-10        Bharath Suri <bharath.s.jois@gmail.com>
 
        PR 1663/testing

<font color='#006600'>diff -u rtems/testsuites/sptests/Makefile.am:1.103 rtems/testsuites/sptests/Makefile.am:1.104
--- rtems/testsuites/sptests/Makefile.am:1.103  Thu Jul 29 17:28:51 2010
+++ rtems/testsuites/sptests/Makefile.am        Tue Aug 10 17:57:59 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font>     sp30 sp31 sp32 sp33 sp34 sp35      sp37 sp38 sp39 \
     sp40 sp41 sp42 sp43 sp44 sp45 sp46 sp47 sp48 sp49 \
     sp50 sp51 sp52 sp53 sp54 sp55 sp56 sp57 sp58 sp59 \
<font color='#880000'>-    sp60 sp61 sp62 sp63 sp64 sp65 sp66 sp67 sp68 sp69 \
</font><font color='#000088'>+    sp60      sp62 sp63 sp64 sp65 sp66 sp67 sp68 sp69 \
</font>     sp70 sp71 sp72 \
     spassoc01 spchain spclockget spcoverage spobjgetnext \
     spnotepad01 spprintk spprivenv01 spsize spstkalloc spthreadq01 \
<font color='#997700'>@@ -22,7 +22,7 @@
</font>     spfatal01 spfatal02 spfatal03 spfatal04 spfatal05 spfatal06 spfatal07 \
     spfatal08 spfatal09 spfatal10 spfatal11 spfatal12 spfatal13 spfatal14 \
     spfatal15 spfatal16 spfatal17 spfatal18 spfatal19 spfatal20 spfatal21 \
<font color='#880000'>-    spfatal22 \
</font><font color='#000088'>+    spfatal22 spfatal23 \
</font>     spfifo01 spfifo02 spfifo03 spfifo04 spfifo05 \
     spintrcritical01 spintrcritical02 spintrcritical03 spintrcritical04 \
     spintrcritical05 spintrcritical06 spintrcritical07 spintrcritical08 \

<font color='#006600'>diff -u rtems/testsuites/sptests/configure.ac:1.108 rtems/testsuites/sptests/configure.ac:1.109
--- rtems/testsuites/sptests/configure.ac:1.108 Thu Jul 29 17:28:51 2010
+++ rtems/testsuites/sptests/configure.ac       Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -86,7 +86,6 @@
</font> sp58/Makefile
 sp59/Makefile
 sp60/Makefile
<font color='#880000'>-sp61/Makefile
</font> sp62/Makefile
 sp63/Makefile
 sp64/Makefile
<font color='#997700'>@@ -127,6 +126,7 @@
</font> spfatal20/Makefile
 spfatal21/Makefile
 spfatal22/Makefile
<font color='#000088'>+spfatal23/Makefile
</font> spfifo01/Makefile
 spfifo02/Makefile
 spfifo03/Makefile

<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spfatal23/.cvsignore:1.1
--- /dev/null   Tue Aug 10 18:11:10 2010
+++ rtems/testsuites/sptests/spfatal23/.cvsignore       Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spfatal23/Makefile.am:1.1
--- /dev/null   Tue Aug 10 18:11:10 2010
+++ rtems/testsuites/sptests/spfatal23/Makefile.am      Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -0,0 +1,25 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+rtems_tests_PROGRAMS = spfatal23
+spfatal23_SOURCES = ../spfatal_support/init.c \
+    ../spfatal_support/system.h testcase.h
+
+dist_rtems_tests_DATA = spfatal23.scn
+dist_rtems_tests_DATA += spfatal23.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(spfatal23_OBJECTS) $(spfatal23_LDADD)
+LINK_LIBS = $(spfatal23_LDLIBS)
+
+spfatal23$(EXEEXT): $(spfatal23_OBJECTS) $(spfatal23_DEPENDENCIES)
+       @rm -f spfatal23$(EXEEXT)
+       $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spfatal23/spfatal23.doc:1.1
--- /dev/null   Tue Aug 10 18:11:10 2010
+++ rtems/testsuites/sptests/spfatal23/spfatal23.doc    Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+#
+#  $Id$
+#
+#  COPYRIGHT (c) 1989-2010.
+#  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.com/license/LICENSE.
+#
+
+This file describes the directives and concepts tested by this test set.
+
+test set name:  spfatal23
+
+directives:
+
+  _System_state_Set
+  rtems_shutdown_executive
+
+concepts:
+
++ Ensure that shutting RTEMS down when the system state indicates it is
+  already shutdown is a fatal error.
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spfatal23/spfatal23.scn:1.1
--- /dev/null   Tue Aug 10 18:11:10 2010
+++ rtems/testsuites/sptests/spfatal23/spfatal23.scn    Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -0,0 +1,3 @@
</font><font color='#000088'>+*** TEST FATAL SHUTDOWN WHEN NOT UP ***
+Fatal error (SHUTDOWN WHEN NOT UP) hit
+*** END OF TEST ***
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/sptests/spfatal23/testcase.h:1.1
--- /dev/null   Tue Aug 10 18:11:10 2010
+++ rtems/testsuites/sptests/spfatal23/testcase.h       Tue Aug 10 17:58:00 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2010.
+ *  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.com/license/LICENSE.
+ *
+ *  $Id$
+ */
+
+#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#define FATAL_ERROR_TEST_NAME            "SHUTDOWN WHEN NOT UP"
+#define FATAL_ERROR_DESCRIPTION          "SHUTDOWN WHEN NOT UP"
+#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
+#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
+#define FATAL_ERROR_EXPECTED_ERROR       INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
+
+void force_error()
+{
+  _System_state_Set( SYSTEM_STATE_SHUTDOWN );
+  rtems_shutdown_executive( 0 );
+  /* we will not run this far */
+}
</font></pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>