Files
rtems/testsuites/libtests/dl02/dl02.doc
Chris Johns 540b7b4178 libtests: Add libdl test dl02.
Loads 2 interdependent ELF object files.
2014-11-04 16:31:50 +11:00

29 lines
771 B
Plaintext

# 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.