diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-14 04:49:06 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-14 04:49:06 +0000 |
commit | fd4efe7005d534e18d7a9fc8ca44aa1cdb8bf9eb (patch) | |
tree | baeea8fc15da16ab1381aea111ca81bea9a13a10 /lib/libc/stdlib | |
parent | 4654a3e4a6c0b5420141ad6f14b579d1c80278ee (diff) | |
download | FreeBSD-src-fd4efe7005d534e18d7a9fc8ca44aa1cdb8bf9eb.zip FreeBSD-src-fd4efe7005d534e18d7a9fc8ca44aa1cdb8bf9eb.tar.gz |
MFC r313378,r313379:
r313378:
Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use
The reasoning here was the same as what was done in r313376:
- Gather as many results as possible instead of failing early and
not testing the rest of the cases.
- Simplify logic when checking test inputs vs outputs and printing
test result.
r313379:
Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base type
The %t{d,u} (ptrdiff_t) tests fail for the following reasons:
- ptrdiff_t is by definition int32_t on !LP64 architectures and int64_t on
LP64 architectures.
- intmax_t is by definition fixed to int64_t on all architectures.
- Some of the code in lib/libc/stdio/... is promoting ptrdiff_t to *intmax_t
when parsing/representing the value.
PR: 191674
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions