diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-08 20:11:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-08 20:11:48 +0000 |
commit | 843ad7b5ffae3626d7097ba121c7af915556e7a4 (patch) | |
tree | ad34a68750b4e795ab3a56d472722f50826e6a57 /testsuites/libtests/malloc04/malloc04.scn | |
parent | 2010-07-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-843ad7b5ffae3626d7097ba121c7af915556e7a4.tar.bz2 |
2010-07-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for exercising sbrk() extension
to Malloc Family.
* malloc04/.cvsignore, malloc04/Makefile.am, malloc04/init.c,
malloc04/malloc04.doc, malloc04/malloc04.scn: New files.
Diffstat (limited to 'testsuites/libtests/malloc04/malloc04.scn')
-rw-r--r-- | testsuites/libtests/malloc04/malloc04.scn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuites/libtests/malloc04/malloc04.scn b/testsuites/libtests/malloc04/malloc04.scn new file mode 100644 index 0000000000..a2ad14aee9 --- /dev/null +++ b/testsuites/libtests/malloc04/malloc04.scn @@ -0,0 +1,20 @@ +*** TEST MALLOC 04 *** +Initialize heap with some memory +sbrk(128) +sbrk(128) +sbrk(64) +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 *** |