]> sourceware.org Git - 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)
committerMaciej W. Rozycki <macro@redhat.com>
Fri, 26 Jul 2024 12:21:34 +0000 (13:21 +0100)
commit8c98195af6e6f1ce21743fc26c723e0f7e45bcf2
tree6c110aca589ea19dbab490f02e16560800ce4101
parentfe9408087583fd7a6f61bb0dbcf2fd4e83186afa
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>
sysdeps/pthread/tst-setuid3.c
This page took 0.038323 seconds and 5 git commands to generate.