]> 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:22 +0000 (15:28 -0400)
commit5ff30b2f75681e1f752eeaad9d48ad249dabe71c
treedb558b024db82fabbe32faf4707b3b46a2b12a2f
parentcae418638e83bcac4e65d612036edbd58f6e9364
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