nuttx-apps/examples/sotest/main
Marco Casaroli d3de432a2c examples/sotest: Check that a library can be opened twice.
dlopen() of an already loaded library used to fail, so nothing exercised
what happens when two callers hold the same object.

Open the library a second time, check the same handle comes back, close
one of the two and check the library is still usable through the other.

Needs the counterpart change in nuttx; without it the second dlopen()
returns NULL and this reports it.

Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-08-04 10:37:33 +08:00
..
host examples/sotest: support packaged shared library fixtures. 2026-07-26 20:54:58 +08:00
.gitignore module/sotest:use Compile dynamic modules using a unified compilation method 2024-10-16 07:38:06 +08:00
CMakeLists.txt examples/sotest: support packaged shared library fixtures. 2026-07-26 20:54:58 +08:00
Kconfig module/sotest:use Compile dynamic modules using a unified compilation method 2024-10-16 07:38:06 +08:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples/sotest: support packaged shared library fixtures. 2026-07-26 20:54:58 +08:00
mk_pkg_fixture_shared.c examples/sotest: support packaged shared library fixtures. 2026-07-26 20:54:58 +08:00
sotest_main.c examples/sotest: Check that a library can be opened twice. 2026-08-04 10:37:33 +08:00