diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-12-31 12:20:49 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-12-31 18:51:15 +0100 |
commit | 039c5a05cc905e3d48392e7ea9f85e339b7c068b (patch) | |
tree | 2d69efafb74a99d94b13b98eaab09d9e1d0e505c /ChangeLog | |
parent | 5707a64d9462001f9c7c2e02d3f52cf8b0181658 (diff) | |
download | glibc-039c5a05cc905e3d48392e7ea9f85e339b7c068b.tar glibc-039c5a05cc905e3d48392e7ea9f85e339b7c068b.tar.gz glibc-039c5a05cc905e3d48392e7ea9f85e339b7c068b.tar.bz2 glibc-039c5a05cc905e3d48392e7ea9f85e339b7c068b.zip |
support: Use support_record_failure consistently
This causes more test programs to link in the support_record_failure
function, which triggers an early call to mmap from an ELF
constructor, but this should not have side effects intefering
with the functionality actually under test (unlike, say, a call
to malloc).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1,5 +1,27 @@ 2016-12-31 Florian Weimer <fweimer@redhat.com> + * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that + test failures are recorded. + * support/check.c (support_print_failure_impl): Call + support_record_failure. + (support_exit_failure_impl): Call support_record_failure if status + indicates failure. + * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1. + * support/xasprintf.c (xasprintf): Likewise. + * support/xfork.c (xfork): Likewise. + * support/xpthread_check_return.c (xpthread_check_return): + Likewise. + * support/xsocket.c (xsocket): Likeweise. + * support/xwaitpid.c (xwaitpid): Likewise. + * support/support_record_failure.c (struct test_failures): Adjust + to coding style. + * support/support_test_verify_impl.c (support_test_verify_impl): + Adjust error messages. + * support/tst-support_record_failure-2.sh (different_status): + Adjust error messages. + +2016-12-31 Florian Weimer <fweimer@redhat.com> + * support/namespace.h: New file. * support/support_become_root.c: Likewise. * support/support_enter_network_namespace.c: Likewise. |