change log for rtems (2010-06-22)
rtems-vc at rtems.org
rtems-vc at rtems.org
Tue Jun 22 18:11:56 UTC 2010
*jennifer*:
2010-06-22 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add a normal case with second
parameter to adjtime NULL.
M 1.267 testsuites/psxtests/ChangeLog
M 1.6 testsuites/psxtests/psxtime/psxtime.scn
M 1.16 testsuites/psxtests/psxtime/test.c
diff -u rtems/testsuites/psxtests/ChangeLog:1.266 rtems/testsuites/psxtests/ChangeLog:1.267
--- rtems/testsuites/psxtests/ChangeLog:1.266 Sat Jun 19 15:55:29 2010
+++ rtems/testsuites/psxtests/ChangeLog Tue Jun 22 12:44:01 2010
@@ -1,3 +1,8 @@
+2010-06-22 Jennifer Averett <Jennifer.Averett at OARcorp.com>
+
+ * psxtime/psxtime.scn, psxtime/test.c: Add a normal case with second
+ parameter to adjtime NULL.
+
2010-06-19 Joel Sherrill <joel.sherrill at oarcorp.com>
* psxfatal_support/init.c: Remove references to ITRON constants.
diff -u rtems/testsuites/psxtests/psxtime/psxtime.scn:1.5 rtems/testsuites/psxtests/psxtime/psxtime.scn:1.6
--- rtems/testsuites/psxtests/psxtime/psxtime.scn:1.5 Wed Aug 19 10:13:34 2009
+++ rtems/testsuites/psxtests/psxtime/psxtime.scn Tue Jun 22 12:44:02 2010
@@ -4,6 +4,7 @@
adjtime - delta out of range - EINVAL
adjtime - delta too small - do nothing
adjtime - delta too small - do nothing, olddelta=NULL
+adjtime - delta of one second forward, olddelta=NULL
adjtime - delta of one second forward
adjtime - delta of almost two seconds forward
adjtime - delta of almost one second forward which bumps second
diff -u rtems/testsuites/psxtests/psxtime/test.c:1.15 rtems/testsuites/psxtests/psxtime/test.c:1.16
--- rtems/testsuites/psxtests/psxtime/test.c:1.15 Tue Dec 8 11:52:53 2009
+++ rtems/testsuites/psxtests/psxtime/test.c Tue Jun 22 12:44:02 2010
@@ -137,6 +137,12 @@
sc = adjtime( &delta, NULL );
rtems_test_assert( sc == 0 );
+ puts( "adjtime - delta of one second forward, olddelta=NULL" );
+ delta.tv_sec = 1;
+ delta.tv_usec = 0;
+ sc = adjtime( &delta, NULL );
+ rtems_test_assert( sc == 0 );
+
puts( "adjtime - delta of one second forward" );
delta.tv_sec = 1;
delta.tv_usec = 0;
*jennifer*:
2010-06-22 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* malloctest/init.c: Added test to check failure branch on calloc.
M 1.181 testsuites/libtests/ChangeLog
M 1.38 testsuites/libtests/malloctest/init.c
diff -u rtems/testsuites/libtests/ChangeLog:1.180 rtems/testsuites/libtests/ChangeLog:1.181
--- rtems/testsuites/libtests/ChangeLog:1.180 Mon Jun 21 16:09:36 2010
+++ rtems/testsuites/libtests/ChangeLog Tue Jun 22 13:09:04 2010
@@ -1,3 +1,7 @@
+2010-06-22 Jennifer Averett <Jennifer.Averett at OARcorp.com>
+
+ * malloctest/init.c: Added test to check failure branch on calloc.
+
2010-06-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* malloc02/init.c, malloc02/malloc02.doc: Enable malloc dirty helper.
diff -u rtems/testsuites/libtests/malloctest/init.c:1.37 rtems/testsuites/libtests/malloctest/init.c:1.38
--- rtems/testsuites/libtests/malloctest/init.c:1.37 Mon Jun 7 04:33:32 2010
+++ rtems/testsuites/libtests/malloctest/init.c Tue Jun 22 13:09:04 2010
@@ -1076,6 +1076,7 @@
rtems_task_argument argument
)
{
+ void *p1;
rtems_time_of_day time;
rtems_status_code status;
@@ -1085,6 +1086,12 @@
status = rtems_clock_set( &time );
directive_failed( status, "rtems_clock_set" );
+ p1 = calloc( 1, SIZE_MAX );
+ if (p1) {
+ printf("ERROR on attempt to calloc SIZE_MAX block expected failure.");
+ free( p1 );
+ }
+
test_heap_initialize();
test_heap_block_allocate();
test_heap_allocate();
--
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/20100622/ed781105/attachment-0001.html>
More information about the vc
mailing list