summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl02/dl02.doc
blob: 4a325de9cceb4c91ec4febd729061fb1fe202297 (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
# Copyright (c) 2014 Chris Johns <chrisj@rtems.org>
#
# The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at
# http://www.rtems.org/license/LICENSE.
#

This file describes the directives and concepts tested by this test set.

test set name: dl02

directives:

  dlopen
  dlinfo
  dlsym
  dlclose

concepts:

+ Load 2 interdependent ELF object files.
+ Check there are no unreolved externals. There should be unresolved
  externals after the first lond and none after the second load.
+ Locate the rtems_main symbol in dl-o1.
+ Call the rtems_main sym and have that function call the second object.
  Call the second download with a callback handler to a symbol in the first
  object file.
+ Unload the ELF files.