<!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 (2011-03-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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* heapwalk/init.c: Improve coverage.
* heapwalk/heapwalk.scn: Update.
</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.261&r2=text&tr2=1.262&diff_format=h">M</a></td><td width='1%'>1.262</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/heapwalk/heapwalk.scn.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>testsuites/libtests/heapwalk/heapwalk.scn</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/heapwalk/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/heapwalk/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.261 rtems/testsuites/libtests/ChangeLog:1.262
--- rtems/testsuites/libtests/ChangeLog:1.261 Wed Mar 9 13:39:44 2011
+++ rtems/testsuites/libtests/ChangeLog Thu Mar 10 09:41:58 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * heapwalk/init.c: Improve coverage.
+ * heapwalk/heapwalk.scn: Update.
+
</font> 2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this
<font color='#006600'>diff -u rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.4 rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.5
--- rtems/testsuites/libtests/heapwalk/heapwalk.scn:1.4 Wed Sep 9 11:30:14 2009
+++ rtems/testsuites/libtests/heapwalk/heapwalk.scn Thu Mar 10 09:41:58 2011
</font><font color='#997700'>@@ -6,7 +6,7 @@
</font> set minimal block size to a not page aligned value
set allocation area of the first block to be non page-aligned
clear the previous used flag of the first block
<font color='#880000'>- set the previous block size of the first block to an invalid value
</font><font color='#000088'>+ mark last block as free
</font> set invalid next block for last block
testing the _Heap_Walk_check_free_list() function
no free blocks
<font color='#997700'>@@ -30,8 +30,8 @@
</font> test the output-function for the _Heap_Walk()
therefore use the (already tested) case with a page size of 0
PASS[0]: page size 0, min block size 16
<font color='#880000'>- area begin 0x0202C4BC, area end 0x0202D4BC
- first block 0x0202C4C0, last block 0x0202D4B0
- first free 0x0202C4C0, last free 0x0202C4C0
</font><font color='#000088'>+ area begin 0x0202D4BC, area end 0x0202E4BC
+ first block 0x0202D4C0, last block 0x0202E4B0
+ first free 0x0202D4C0, last free 0x0202D4C0
</font> FAIL[0]: page size is zero
*** END OF HEAP WALK TEST ***
<font color='#006600'>diff -u rtems/testsuites/libtests/heapwalk/init.c:1.13 rtems/testsuites/libtests/heapwalk/init.c:1.14
--- rtems/testsuites/libtests/heapwalk/init.c:1.13 Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/heapwalk/init.c Thu Mar 10 09:41:58 2011
</font><font color='#997700'>@@ -131,10 +131,15 @@
</font> TestHeap.first_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;
test_call_heap_walk( false );
<font color='#880000'>- puts( "\tset invalid next block for last block" );
</font><font color='#000088'>+ puts( "\tmark last block as free" );
</font> test_heap_init_custom();
TestHeap.last_block->size_and_flag = 0;
test_call_heap_walk( false );
<font color='#000088'>+
+ puts( "\tset invalid next block for last block" );
+ test_heap_init_custom();
+ TestHeap.last_block->size_and_flag = HEAP_PREV_BLOCK_USED;
+ test_call_heap_walk( false );
</font> }
static void test_check_free_list(void)
</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>