]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Use <support/check.h> facilities in tst-setuid3
authorMaciej W. Rozycki <macro@redhat.com>
Fri, 26 Jul 2024 12:21:34 +0000 (13:21 +0100)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 30 Aug 2024 19:29:12 +0000 (15:29 -0400)
commit09fb06d3d60291af6cdb20357dbec2fbb32514de
tree1d6d8d52e004c7e380ae3b2947998157867c0720
parent507983797e474f28aeeca6c6a0dbc3ef7f167fa5
nptl: Use <support/check.h> facilities in tst-setuid3

Remove local FAIL macro in favor to FAIL_EXIT1 from <support/check.h>,
which provides equivalent reporting, with the name of the file and the
line number within of the failure site additionally included.  Remove
FAIL_ERR altogether and include ": %m" explicitly with the format string
supplied to FAIL_EXIT1 as there seems little value to have a separate
macro just for this.

Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit 8c98195af6e6f1ce21743fc26c723e0f7e45bcf2)
sysdeps/pthread/tst-setuid3.c