dlopen()/dlclose() bugfix with testcase
Status from this message: Merged, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | smokey/posix-fork: fix binary path for configure --with-testdirtestsuite/ testsuite/ | +4 | 0 replies | |
| 2/5 | smokey/posix-fork: actually wait for the process to exittestsuite/ | +16 | 0 replies | |
| 3/5 | smokey/posix-fork: move fork/exec functionality into libsmokeyinclude/ lib/ testsuite/ | +44 | 0 replies | |
| 4/5 | smokey/dlopen: introduce a new testcaseconfigure.ac testsuite/ testsuite/ +4 more | +298 | 0 replies | |
| 5/5 | boilerplate/setup: introduce destructors for __setup_callinclude/ lib/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Xenomai] [PATCH 0/5] dlopen()/dlclose() bugfix with testcase
In order to fix a segfault in a dlopen()/dlclose()/dlopen() sequence i wrote a testcase to reproduce the issue. That testcase also covers a few other dlopen-related things.
The testcase is intetgrated into smokey. Because a smokey-test is already a xenomai-application the actual test-program gets launched from the testcase. And that program is a non-xenomai application which gains xenomai-functionality with dlopen().
The series also contains preparation and fixes along the way (posix-fork).
Henning Schild (5):
smokey/posix-fork: fix binary path for configure --with-testdir smokey/posix-fork: actually wait for the process to exit smokey/posix-fork: move fork/exec functionality into libsmokey smokey/dlopen: introduce a new testcase boilerplate/setup: introduce destructors for __setup_call
configure.ac | 2 + include/boilerplate/setup.h | 7 +++ include/smokey/smokey.h | 8 +++ lib/boilerplate/setup.c | 6 +++ lib/smokey/helpers.c | 31 +++++++++++ testsuite/smokey/Makefile.am | 4 ++ testsuite/smokey/dlopen/Makefile.am | 63 ++++++++++++++++++++++ testsuite/smokey/dlopen/dlopen.c | 44 ++++++++++++++++ testsuite/smokey/dlopen/dlopentest.c | 88 +++++++++++++++++++++++++++++++ testsuite/smokey/dlopen/libalchemy-test.c | 65 +++++++++++++++++++++++ testsuite/smokey/dlopen/libposix-test.c | 32 +++++++++++ testsuite/smokey/posix-fork/Makefile.am | 5 +- testsuite/smokey/posix-fork/posix-fork.c | 33 ++---------- 13 files changed, 358 insertions(+), 30 deletions(-) create mode 100644 testsuite/smokey/dlopen/Makefile.am create mode 100644 testsuite/smokey/dlopen/dlopen.c create mode 100644 testsuite/smokey/dlopen/dlopentest.c create mode 100644 testsuite/smokey/dlopen/libalchemy-test.c create mode 100644 testsuite/smokey/dlopen/libposix-test.c
Signature · 1 line
2.16.1