tests/test-getentropy.c


Log

Author Commit Date CI Message
Bruno Haible 3a5f5178 2024-05-18T21:32:01 tests: Support showing all assertion failures, not just the first one. * tests/macros.h (CONTINUE_AFTER_ASSERT): New macro. (test_exit_status): New variable. (ASSERT, ASSERT_NO_STDIO): If CONTINUE_AFTER_ASSERT is 1, set test_exit_status instead of aborting. * tests/**/test-*.{c,h,cc} (main): Instead of exiting with exit code 0, exit with exit code test_exit_status. * tests/test-spawn-pipe-child.c: Undefine CONTINUE_AFTER_ASSERT. * tests/uninorm/test-nf*.c: Include macros.h. * tests/uninorm/test-u32-nf*-big.c: Likewise. * tests/random*.c: Define NO_MAIN_HERE.
Simon Josefsson 5b92dd0a 2024-01-01T10:31:48 maint: run 'make update-copyright'
Simon Josefsson 32a72f45 2023-01-01T01:14:21 maint: run 'make update-copyright'
Bernhard Voelker 87e6634b 2022-01-04T00:16:50 license: fix GPLv3 texts to use a comma instead of semicolon. See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
Paul Eggert eec12c00 2022-01-01T09:43:19 maint: run 'make update-copyright'
Paul Eggert 4b948321 2021-01-01T07:28:52 maint: run 'make update-copyright'
Bruno Haible 117dbe6e 2020-05-31T20:13:27 getentropy: Enhance tests. * tests/test-getentropy.c (main): Add one more test. * tests/test-unistd-c++.cc: Check the signature of getentropy.
Paul Eggert 682cc4e6 2020-05-25T09:19:56 getentropy, getrandom: new modules * MODULES.html.sh (func_all_modules): * lib/unistd.in.h (getentropy, getrandom): * m4/unistd_h.m4 (gl_UNISTD_H, gl_UNISTD_H_DEFAULTS): * modules/unistd (unistd.h): Add support for getentropy, getrandom. * doc/glibc-functions/getentropy.texi (getentropy): * doc/glibc-functions/getrandom.texi (getrandom): These are now fixed on some platforms. * lib/getentropy.c, lib/getrandom.c, lib/sys_random.in.h: * m4/getentropy.m4, m4/getrandom.m4: * modules/getentropy, modules/getentropy-tests: * modules/getrandom, modules/getrandom-tests: * tests/test-getentropy.c, tests/test-getrandom.c: New files.