The NetBSD Project

CVS log for src/tests/libexec/ld.elf_so/t_rtld_r_debug.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / libexec / ld.elf_so

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 24 17:40:20 2023 UTC (4 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +13 -7 lines
Diff to previous 1.4 (colored)

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.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 24 17:40:09 2023 UTC (4 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 29 16:35:42 2020 UTC (3 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored)

Whitespace

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 29 16:34:07 2020 UTC (3 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Fix build with clang.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 22 01:09:32 2020 UTC (3 years, 6 months ago) by kamil
Branch: MAIN

Add new RTLD test file for r_debug

New tests:
 - self
 - dlopen

Both check whether the r_debug structure seems to be well-formed, without
and with a dlopen(3) call.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>