From 540b7b417867f7b26320539a1ef17d12760f4efc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 4 Nov 2014 16:31:50 +1100 Subject: libtests: Add libdl test dl02. Loads 2 interdependent ELF object files. --- testsuites/libtests/dl02/dl02.doc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testsuites/libtests/dl02/dl02.doc (limited to 'testsuites/libtests/dl02/dl02.doc') 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 +# +# 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. -- cgit v1.2.3