summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-09 17:31:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-09 17:31:48 +0000
commit384f0225e89e8b22a3ab4574cb56ae6a6f8601fd (patch)
treec7dc8e720ec9b064f578d59d5ded3c1e1cc64112 /testsuites/libtests
parent2009-08-09 Xi Yang <hiyangxi@gmail.com> (diff)
downloadrtems-384f0225e89e8b22a3ab4574cb56ae6a6f8601fd.tar.bz2
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.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/ChangeLog5
-rw-r--r--testsuites/libtests/malloctest/init.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 3468e1d654..2ba41e3b0a 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -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.
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index 8796bf9693..b4a9873a14 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -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 );