diff options
author | Chris Johns <chrisj@rtems.org> | 2014-11-04 16:30:08 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-11-04 16:30:08 +1100 |
commit | d52c9e4d71a6ea065de4d024336de10873eb01d3 (patch) | |
tree | eb84149a6de1f2218da9482f02e3ac20be62647a /testsuites | |
parent | Regenerated preinstall.am file. (diff) | |
download | rtems-d52c9e4d71a6ea065de4d024336de10873eb01d3.tar.bz2 |
libtests: Update dl01 documentation.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/libtests/dl01/dl01.doc | 25 | ||||
-rw-r--r-- | testsuites/libtests/dl01/dl01.scn | 14 | ||||
-rw-r--r-- | testsuites/libtests/dl01/init.c | 2 |
3 files changed, 40 insertions, 1 deletions
diff --git a/testsuites/libtests/dl01/dl01.doc b/testsuites/libtests/dl01/dl01.doc index e69de29bb2..a1099287d4 100644 --- a/testsuites/libtests/dl01/dl01.doc +++ b/testsuites/libtests/dl01/dl01.doc @@ -0,0 +1,25 @@ +# 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: dl01 + +directives: + + dlopen + dlinfo + dlsym + dlclose + +concepts: + ++ Load a single ELF object file. ++ Check there are no unreolved externals. ++ Locate the rtems_main symbol. ++ Call the function and have the function call the base kernel imake. ++ Unload the ELF file. diff --git a/testsuites/libtests/dl01/dl01.scn b/testsuites/libtests/dl01/dl01.scn index e69de29bb2..ed53cfe66d 100644 --- a/testsuites/libtests/dl01/dl01.scn +++ b/testsuites/libtests/dl01/dl01.scn @@ -0,0 +1,14 @@ +*** BEGIN OF TEST libdl (RTL) 1 *** +load: /dl-o1.o +handle: 0x2137d8 loaded +Loaded module: argc:2 +[../../../../../../../../rtems.master/c/src/../../testsuites/libtests/dl01/dl-o1.c] + 0: Line 1 + 1: Line 2 +Loaded module: argc:3 +[../../../../../../../../rtems.master/c/src/../../testsuites/libtests/dl01/dl-o1.c] + 0: Call 2, line 1 + 1: Call 2, line 2 + 2: Call 2, line 3 +handle: 0x2137d8 closed +*** END OF TEST libdl (RTL) 1 *** diff --git a/testsuites/libtests/dl01/init.c b/testsuites/libtests/dl01/init.c index d66750202e..4af0b9bbf8 100644 --- a/testsuites/libtests/dl01/init.c +++ b/testsuites/libtests/dl01/init.c @@ -22,7 +22,7 @@ #include "dl-load.h" -const char rtems_test_name[] = "libdl (RTL) Loader 1"; +const char rtems_test_name[] = "libdl (RTL) 1"; /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); |