libtests: Update dl01 documentation.

This commit is contained in:
Chris Johns
2014-11-04 16:30:08 +11:00
parent de5596b183
commit d52c9e4d71
3 changed files with 40 additions and 1 deletions

View File

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

View File

@@ -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 ***

View File

@@ -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);