diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:29:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:31:55 +0200 |
commit | 99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch) | |
tree | 2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/dlopen/nodelete1.c | |
parent | 543308f6c46cf2edf8a524bc9c631e472570fe72 (diff) |
test: remove test suite
The test suite is now a developed in a separate git repository.
See here:
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git
The test suite should be just like every other software compiled
with the cross-toolchain. In the past strange problems where found
when the test suite got build in the toolchain creation step.
Diffstat (limited to 'test/dlopen/nodelete1.c')
-rw-r--r-- | test/dlopen/nodelete1.c | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/test/dlopen/nodelete1.c b/test/dlopen/nodelete1.c deleted file mode 100644 index 720e37fd1..000000000 --- a/test/dlopen/nodelete1.c +++ /dev/null @@ -1,59 +0,0 @@ -#include <dlfcn.h> -#include <stdio.h> -#include <stdlib.h> - - -int fini_ran; - -#define LIBNAME1 "nodelmod1.so" - -static int -do_test (void) -{ - /* Verify ability to reload RTLD_NODELETE libraries. - */ - void *p; - - p = dlopen (LIBNAME1, RTLD_NOW); - if (p == NULL) - { - printf ("failed to load "LIBNAME1": %s\n", dlerror ()); - exit (1); - } - - if (dlclose (p) != 0) - { - puts ("failed to close "LIBNAME1""); - exit (1); - } - - p = dlopen (LIBNAME1, RTLD_LAZY); - if (p == NULL) - { - printf ("failed to load "LIBNAME1": %s\n", dlerror ()); - exit (1); - } - - if (dlclose (p) != 0) - { - puts ("failed to close "LIBNAME1""); - exit (1); - } - - p = dlopen ("nodelmod2.so", RTLD_LAZY); - if (p == NULL) - { - printf ("failed to load \"nodelmod2.so\": %s\n", dlerror ()); - exit (1); - } - if (dlclose (p) != 0) - { - puts ("failed to close \"nodelmod2.so\""); - exit (1); - } - - return 0; -} - -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" |