<!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-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1665/testing
* psximfs02/init.c: Fix uninitialized variable warning.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.307&r2=text&tr2=1.308&diff_format=h">M</a></td><td width='1%'>1.308</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psximfs02/init.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>testsuites/psxtests/psximfs02/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.307 rtems/testsuites/psxtests/ChangeLog:1.308
--- rtems/testsuites/psxtests/ChangeLog:1.307 Mon Aug 9 09:37:01 2010
+++ rtems/testsuites/psxtests/ChangeLog Tue Aug 10 09:41:46 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ PR 1665/testing
+ * psximfs02/init.c: Fix uninitialized variable warning.
+
</font> 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1661/testing
<font color='#006600'>diff -u rtems/testsuites/psxtests/psximfs02/init.c:1.5 rtems/testsuites/psxtests/psximfs02/init.c:1.6
--- rtems/testsuites/psxtests/psximfs02/init.c:1.5 Mon Aug 9 09:37:01 2010
+++ rtems/testsuites/psxtests/psximfs02/init.c Tue Aug 10 09:41:47 2010
</font><font color='#997700'>@@ -27,7 +27,6 @@
</font> {
int status = 0;
void *alloc_ptr = (void *)0;
<font color='#880000'>- Heap_Information_block Info;
</font> char linkname_n[20] = {0};
char linkname_p[20] = {0};
int i;
<font color='#997700'>@@ -120,7 +119,7 @@
</font> free( alloc_ptr );
puts( "Allocate most of heap" );
<font color='#880000'>- alloc_ptr = malloc( Info.Free.largest - 40 );
</font><font color='#000088'>+ alloc_ptr = malloc( malloc_free_space() - 40 );
</font>
puts( "Attempt to create /node-slink-2 for /node -- expect ENOMEM" );
status = symlink( "/node", "node-slink-2" );
</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 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1664/testing
* termios01/init.c: Use INT_MAX instead of hard-coded number for error
case to avoid warning on 16-bit targets.
</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.234&r2=text&tr2=1.235&diff_format=h">M</a></td><td width='1%'>1.235</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.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/libtests/termios01/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.234 rtems/testsuites/libtests/ChangeLog:1.235
--- rtems/testsuites/libtests/ChangeLog:1.234 Tue Aug 10 08:15:38 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Aug 10 09:45:22 2010
</font><font color='#997700'>@@ -1,5 +1,11 @@
</font> 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
<font color='#000088'>+ PR 1664/testing
+ * termios01/init.c: Use INT_MAX instead of hard-coded number for error
+ case to avoid warning on 16-bit targets.
+
+2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font> PR 1661/testing
* malloc04/init.c: Add public methods to get/set malloc heap pointer so
the tests do not have to peer behind the API.
<font color='#006600'>diff -u rtems/testsuites/libtests/termios01/init.c:1.12 rtems/testsuites/libtests/termios01/init.c:1.13
--- rtems/testsuites/libtests/termios01/init.c:1.12 Mon Aug 9 09:36:47 2010
+++ rtems/testsuites/libtests/termios01/init.c Tue Aug 10 09:45:22 2010
</font><font color='#997700'>@@ -497,7 +497,7 @@
</font> * tcsetattr - ERROR invalid operation
*/
puts( "tcsetattr - invalid operation - ENOTSUP" );
<font color='#880000'>- rc = tcsetattr( test, 0x12345, &t );
</font><font color='#000088'>+ rc = tcsetattr( test, INT_MAX, &t );
</font> rtems_test_assert( rc == -1 );
rtems_test_assert( errno == ENOTSUP );
</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 Bharath Suri <bharath.s.jois@gmail.com>
PR 1598/testing
* psxpasswd02/init.c, psxpasswd02/psxpasswd02.scn: New test case
added to improve coverage of getpwent.c.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.308&r2=text&tr2=1.309&diff_format=h">M</a></td><td width='1%'>1.309</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxpasswd02/init.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%'>testsuites/psxtests/psxpasswd02/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxpasswd02/psxpasswd02.scn.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>testsuites/psxtests/psxpasswd02/psxpasswd02.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.308 rtems/testsuites/psxtests/ChangeLog:1.309
--- rtems/testsuites/psxtests/ChangeLog:1.308 Tue Aug 10 09:41:46 2010
+++ rtems/testsuites/psxtests/ChangeLog Tue Aug 10 09:50:14 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-08-10 Bharath Suri <bharath.s.jois@gmail.com>
+
+ PR 1598/testing
+ * psxpasswd02/init.c, psxpasswd02/psxpasswd02.scn: New test case
+ added to improve coverage of getpwent.c.
+
</font> 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1665/testing
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxpasswd02/init.c:1.3 rtems/testsuites/psxtests/psxpasswd02/init.c:1.4
--- rtems/testsuites/psxtests/psxpasswd02/init.c:1.3 Mon Aug 9 00:24:00 2010
+++ rtems/testsuites/psxtests/psxpasswd02/init.c Tue Aug 10 09:50:14 2010
</font><font color='#997700'>@@ -152,6 +152,23 @@
</font> rtems_test_assert( !pw );<span style="background-color: #FF0000"> </span>
rtems_test_assert( errno == EINVAL );
<font color='#000088'>+ fp = fopen( "/etc/passwd", "w" );
+ rtems_test_assert( fp != NULL );
+ fprintf( fp, "\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ\
+ :x:999999999999:1:dummy::/:/bin/sh\n" );
+ fclose( fp );
+
+ puts( "Init - getpwnam(\"root\") -- expected EINVAL" );
+ pw = getpwnam( "root" );
+ rtems_test_assert( !pw );<span style="background-color: #FF0000"> </span>
+ rtems_test_assert( errno == EINVAL );
+
</font> puts( "Init - getgrent() -- OK" );
gr = getgrent();
rtems_test_assert( gr != NULL );
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxpasswd02/psxpasswd02.scn:1.2 rtems/testsuites/psxtests/psxpasswd02/psxpasswd02.scn:1.3
--- rtems/testsuites/psxtests/psxpasswd02/psxpasswd02.scn:1.2 Fri Aug 6 19:22:46 2010
+++ rtems/testsuites/psxtests/psxpasswd02/psxpasswd02.scn Tue Aug 10 09:50:14 2010
</font><font color='#997700'>@@ -11,6 +11,7 @@
</font> Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
<font color='#000088'>+Init - getpwnam("root") -- expected EINVAL
</font> Init - getgrent() -- OK
group name: admin
group password:<span style="background-color: #FF0000"> </span>
</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>