From 747d8081a9d2261107a7ee5698a4a8689ee73b4b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Jul 2011 15:55:44 +0000 Subject: 2011-07-12 Joel Sherrill * malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are obsolete. --- testsuites/libtests/ChangeLog | 5 +++++ testsuites/libtests/malloc04/init.c | 31 ------------------------------- testsuites/libtests/malloc04/malloc04.scn | 10 ---------- 3 files changed, 5 insertions(+), 41 deletions(-) (limited to 'testsuites/libtests') diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index aa10c2afa3..90bf5ffa89 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,8 @@ +2011-07-12 Joel Sherrill + + * malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are + obsolete. + 2011-06-20 Ralf Corsépius * devfs04/Makefile.am, deviceio01/Makefile.am, diff --git a/testsuites/libtests/malloc04/init.c b/testsuites/libtests/malloc04/init.c index 83d5063e14..34b6db51ec 100644 --- a/testsuites/libtests/malloc04/init.c +++ b/testsuites/libtests/malloc04/init.c @@ -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; diff --git a/testsuites/libtests/malloc04/malloc04.scn b/testsuites/libtests/malloc04/malloc04.scn index df95a81bde..f6169933b5 100644 --- a/testsuites/libtests/malloc04/malloc04.scn +++ b/testsuites/libtests/malloc04/malloc04.scn @@ -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 *** -- cgit v1.2.3