summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl02/dl02.doc
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-11-04 16:31:50 +1100
committerChris Johns <chrisj@rtems.org>2014-11-04 16:31:50 +1100
commit540b7b417867f7b26320539a1ef17d12760f4efc (patch)
tree1c93c3d4bce409b4f697743acefd24c40ccaf531 /testsuites/libtests/dl02/dl02.doc
parentlibtests: Update dl01 documentation. (diff)
downloadrtems-540b7b417867f7b26320539a1ef17d12760f4efc.tar.bz2
libtests: Add libdl test dl02.
Loads 2 interdependent ELF object files.
Diffstat (limited to 'testsuites/libtests/dl02/dl02.doc')
-rw-r--r--testsuites/libtests/dl02/dl02.doc28
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuites/libtests/dl02/dl02.doc b/testsuites/libtests/dl02/dl02.doc
new file mode 100644
index 0000000000..4a325de9cc
--- /dev/null
+++ b/testsuites/libtests/dl02/dl02.doc
@@ -0,0 +1,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.