glibc/assert
DJ Delorie e79e5c4899 assert: ensure posix compliance, add tests for such
Fix assert.c so that even the fallback
case conforms to POSIX, although not exactly the same as
the default case so a test can tell the difference.

Add a test that verifies that abort is called, and that the
message printed to stderr has all the info that POSIX requires.
Verify this even when malloc isn't usable.

Reviewed-by: Paul Eggert <eggert@cs.ucla.edu>
2024-12-20 22:44:01 -05:00
..
__assert.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
__libc_assert_fail.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
assert-perr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
assert.c assert: ensure posix compliance, add tests for such 2024-12-20 22:44:01 -05:00
assert.h assert: Mark __assert_fail as cold 2024-07-26 20:41:00 +08:00
Depend Update. 2000-07-01 05:19:18 +00:00
Makefile assert: ensure posix compliance, add tests for such 2024-12-20 22:44:01 -05:00
test-assert-2.c assert: ensure posix compliance, add tests for such 2024-12-20 22:44:01 -05:00
test-assert-perr.c tests: replace fgets by xfgets 2023-06-13 19:59:08 -04:00
test-assert.c tests: replace fgets by xfgets 2023-06-13 19:59:08 -04:00
tst-assert-c++.cc tst-assert-c++.cc: Return EXIT_UNSUPPORTED for GCC 4.9 or older 2024-12-14 19:27:45 +08:00
tst-assert-g++.cc Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Versions Update. 2000-08-02 00:09:25 +00:00