change log for rtems (2010-08-10)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Aug 10 15:14:55 UTC 2010
*joel*:
2010-08-10 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1665/testing
* psximfs02/init.c: Fix uninitialized variable warning.
M 1.308 testsuites/psxtests/ChangeLog
M 1.6 testsuites/psxtests/psximfs02/init.c
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
@@ -1,3 +1,8 @@
+2010-08-10 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ PR 1665/testing
+ * psximfs02/init.c: Fix uninitialized variable warning.
+
2010-08-09 Bharath Suri <bharath.s.jois at gmail.com>
PR 1661/testing
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
@@ -27,7 +27,6 @@
{
int status = 0;
void *alloc_ptr = (void *)0;
- Heap_Information_block Info;
char linkname_n[20] = {0};
char linkname_p[20] = {0};
int i;
@@ -120,7 +119,7 @@
free( alloc_ptr );
puts( "Allocate most of heap" );
- alloc_ptr = malloc( Info.Free.largest - 40 );
+ alloc_ptr = malloc( malloc_free_space() - 40 );
puts( "Attempt to create /node-slink-2 for /node -- expect ENOMEM" );
status = symlink( "/node", "node-slink-2" );
*joel*:
2010-08-10 Joel Sherrill <joel.sherrill at 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.
M 1.235 testsuites/libtests/ChangeLog
M 1.13 testsuites/libtests/termios01/init.c
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
@@ -1,5 +1,11 @@
2010-08-10 Joel Sherrill <joel.sherrill at 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.
+
+2010-08-10 Joel Sherrill <joel.sherrill at oarcorp.com>
+
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.
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
@@ -497,7 +497,7 @@
* tcsetattr - ERROR invalid operation
*/
puts( "tcsetattr - invalid operation - ENOTSUP" );
- rc = tcsetattr( test, 0x12345, &t );
+ rc = tcsetattr( test, INT_MAX, &t );
rtems_test_assert( rc == -1 );
rtems_test_assert( errno == ENOTSUP );
*joel*:
2010-08-10 Bharath Suri <bharath.s.jois at gmail.com>
PR 1598/testing
* psxpasswd02/init.c, psxpasswd02/psxpasswd02.scn: New test case
added to improve coverage of getpwent.c.
M 1.309 testsuites/psxtests/ChangeLog
M 1.4 testsuites/psxtests/psxpasswd02/init.c
M 1.3 testsuites/psxtests/psxpasswd02/psxpasswd02.scn
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
@@ -1,3 +1,9 @@
+2010-08-10 Bharath Suri <bharath.s.jois at gmail.com>
+
+ PR 1598/testing
+ * psxpasswd02/init.c, psxpasswd02/psxpasswd02.scn: New test case
+ added to improve coverage of getpwent.c.
+
2010-08-10 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1665/testing
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
@@ -152,6 +152,23 @@
rtems_test_assert( !pw );
rtems_test_assert( errno == EINVAL );
+ 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 );
+ rtems_test_assert( errno == EINVAL );
+
puts( "Init - getgrent() -- OK" );
gr = getgrent();
rtems_test_assert( gr != NULL );
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
@@ -11,6 +11,7 @@
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
+Init - getpwnam("root") -- expected EINVAL
Init - getgrent() -- OK
group name: admin
group password:
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100810/76896c00/attachment-0001.html>
More information about the vc
mailing list