2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>

* malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are
	obsolete.
This commit is contained in:
Joel Sherrill
2011-07-12 15:55:44 +00:00
parent af092ef5c3
commit 747d8081a9
3 changed files with 5 additions and 41 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are
obsolete.
2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* devfs04/Makefile.am, deviceio01/Makefile.am,
-31
View File
@@ -106,37 +106,6 @@ rtems_task Init(
p2 = malloc(64);
p3 = malloc(48);
puts( "Initialize heap with no memory (sbrk aligned)" );
offset = 7;
sbrk_count = 0;
RTEMS_Malloc_Initialize( NULL, 0, 64 );
p1 = malloc(64);
rtems_test_assert( p1 == NULL );
p2 = malloc(64);
rtems_test_assert( p2 == NULL );
p3 = malloc(48);
rtems_test_assert( p3 );
p4 = malloc(48);
rtems_test_assert( p4 == NULL );
puts( "Initialize heap with no memory (sbrk aligned)" );
offset = 0;
sbrk_count = 0;
RTEMS_Malloc_Initialize( NULL, 0, 64 );
p1 = malloc(64);
rtems_test_assert( p1 == NULL );
puts( "Set sbrk amount in heap to 0" );
offset = 0;
sbrk_count = 0;
RTEMS_Malloc_Initialize( NULL, 0, 64 );
RTEMS_Malloc_Sbrk_amount = 0;
p4 = malloc(48);
rtems_test_assert( p4 );
/* Restore information on real heap */
malloc_set_heap_pointer( TempHeap );
rtems_malloc_sbrk_helpers = NULL;
-10
View File
@@ -10,14 +10,4 @@ Initialize heap with some unaligned memory
sbrk(128)
sbrk(128)
sbrk(64)
Initialize heap with no memory (sbrk aligned)
sbrk(64)
sbrk(128)
sbrk(128)
sbrk(64)
Initialize heap with no memory (sbrk aligned)
sbrk(64)
sbrk(128)
Set sbrk amount in heap to 0
sbrk(64)
*** END OF TEST MALLOC 04 ***