summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc04/malloc04.scn
blob: df95a81bde7ff06bed7191783d59e78d4fcabcc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** TEST MALLOC 04 ***
Initialize heap with some memory
sbrk(128)
sbrk(128)
sbrk(64)
Initialize heap with some memory - return address out of heap
sbrk(128)
sbrk(-128)
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 ***