blob: 781a420f402fa2efd939d5da1bdd67d120b19357 (
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
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#
# $Id$
#
# COPYRIGHT (c) 1989-1997.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may in
# the file LICENSE in this distribution or at
# http://www.rtems.com/license/LICENSE.
#
This file describes the directives and concepts tested by this test set.
test set name: test1
directives:
_Object_Allocate, _Object_Free, _Object_Extend_information,
_Object_Shrink_information
concepts:
a. Verifies when the auto-extend is false the number of objects does
not grow, and the number of objects is the maximum number specified
in the Configuration table.
b. Verify the re-allocation of index numbers, and a block of objects is
freed while another remains yet all it objects are not in
use. Four blocks of the allocation size of objects are created,
then the first and third blocks are freed. Only the first
block's memory will be released, while the second remains. This
is due the allocation hystersis.
c. Allocate as many objects are the work-space can hold. Free objects
from a number of blocks with-out freeing the blocks. Free the remaining
blocks.
|