summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc04/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-12 15:55:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-12 15:55:44 +0000
commit747d8081a9d2261107a7ee5698a4a8689ee73b4b (patch)
tree4e2312d32b717f6ee4c06247b92131efabbfb0be /testsuites/libtests/malloc04/init.c
parent2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-747d8081a9d2261107a7ee5698a4a8689ee73b4b.tar.bz2
2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are obsolete.
Diffstat (limited to 'testsuites/libtests/malloc04/init.c')
-rw-r--r--testsuites/libtests/malloc04/init.c31
1 files changed, 0 insertions, 31 deletions
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;