Home | History | Annotate | Download | only in ld.elf_so
History log of /src/tests/libexec/ld.elf_so/t_dlinfo.c
RevisionDateAuthorComments
 1.8  24-Nov-2023  riastradh t_dlinfo, t_rtld_r_debug: Audit ATF_REQUIRE/CHECK, sprinkle messages.

Make sure to use ATF_REQUIRE when the subsequent code doesn't work if
the check fails.
 1.7  24-Nov-2023  riastradh rtld tests: Don't use RZ for dlinfo.

Use

ATF_REQUIRE_EQ_MSG(dlinfo(...), 0, "dlinfo: %s", dlerror())

instead, in order to accurately report the error on failure. RZ is
only for functions like pthread_create(3) that return zero on success
and errno(3) code on failure, but dlinfo returns -1 on failure and
sets dlerror() to report the nature of the error.
 1.6  09-Jul-2019  maya return return atf_no_error() instead of 0 for consistency.

suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/
 1.5  13-Jan-2017  christos branches: 1.5.14;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.4  25-Mar-2011  pooka branches: 1.4.26;
check that we can dlopen() the linkmap name, too
 1.3  25-Mar-2011  pooka check that dlopen()d dso shows up in the linkmap
 1.2  03-Nov-2010  christos add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
 1.1  24-Sep-2009  pooka add regression tests for dlinfo()
 1.4.26.1  20-Mar-2017  pgoyette Sync with HEAD
 1.5.14.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed