forked from Imagelibrary/rtems
libtests: Update dl01 documentation.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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 ***
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user