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
__libc_assert_fail.c
assert-perr.c
assert.c assert: ensure posix compliance, add tests for such 2024-12-20 22:44:01 -05:00
assert.h
Depend
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
test-assert.c
tst-assert-c++.cc
tst-assert-g++.cc
Versions