]> Savannah Git Hosting - gnulib.git/commit
execinfo tests: Strengthen tests.
authorBruno Haible <bruno@clisp.org>
Sun, 12 May 2024 10:29:38 +0000 (12:29 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 12 May 2024 10:29:38 +0000 (12:29 +0200)
commit5c5e2eae1ea3a3e3854c7be2a17e498357bca9d7
treef87649d5fb70d803b99407b9a1524f369a0b8a00
parent4312df511a7488992d51739654f1fa07492de88f
execinfo tests: Strengthen tests.

* tests/test-execinfo.c (test_backtrace): Add an argument. Check the
return value of backtrace(). Check that backtrace_symbols_fd is defined.
Check the return value of backtrace_symbols().
(main): Test also the case of a short buffer.
* modules/execinfo-tests (Makefile.am): Verify that LIB_EXECINFO is
defined.
ChangeLog
modules/execinfo-tests
tests/test-execinfo.c