summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
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
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')
-rw-r--r--testsuites/libtests/ChangeLog5
-rw-r--r--testsuites/libtests/malloc04/init.c31
-rw-r--r--testsuites/libtests/malloc04/malloc04.scn10
3 files changed, 5 insertions, 41 deletions
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 <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,
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 ***