]> 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:28:59 +0000 (15:28 -0400)
commitc3a3240b648e18af3770d2e5a1f6349f3d116f6f
treea01147debe3beb8293798f1c36701ea00dfc3175
parent43b9069a5845b2722b9f0c5ca81c13b942c24924
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