]> 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:27 +0000 (15:29 -0400)
commitc21ca2a696c03ff3f3931768a3ada234eebf6337
tree5006b9dad1299c860a51585d7ad751fd677e53d4
parent9d26e50364def249e483b1601beb6ecf9141ecc7
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