2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>

* malloctest/init.c: Adjust allocation in test so it passes now that
	heap overhead constant has been increased.
This commit is contained in:
Joel Sherrill
2009-08-09 17:31:48 +00:00
parent 235aaf0c10
commit 384f0225e8
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Adjust allocation in test so it passes now that
heap overhead constant has been increased.
2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/init.c: Do not violate visibility.

View File

@@ -162,7 +162,7 @@ void test_heap_cases_1()
puts( "Heap Initialized" );
p1 = _Heap_Allocate( &TestHeap, 500 );
rtems_test_assert( p1 != NULL );
p2 = _Heap_Allocate( &TestHeap, 500 );
p2 = _Heap_Allocate( &TestHeap, 496 );
rtems_test_assert( p2 != NULL );
rsc = _Heap_Resize_block( &TestHeap, p1, 256, &u1, &u2 );
rtems_test_assert( rsc == HEAP_RESIZE_SUCCESSFUL );