diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-02-07 05:39:00 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-02-07 05:39:00 +0000 |
commit | 9a41ce4a69a107a61e23d1fc3e93d9ac6fe576fe (patch) | |
tree | 2b891e9b2a56a79c74aa1da8a2f9a0315cad42c0 | |
parent | 1eca9a9a4913c6842401562891f28fe05fc8b4ee (diff) |
Notes
-rw-r--r-- | lib/libc/tests/stdio/printbasic_test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/tests/stdio/printbasic_test.c b/lib/libc/tests/stdio/printbasic_test.c index e1220a35f8302..322e7477da25d 100644 --- a/lib/libc/tests/stdio/printbasic_test.c +++ b/lib/libc/tests/stdio/printbasic_test.c @@ -111,6 +111,11 @@ ATF_TC_BODY(int_within_limits, tc) testfmt("-1", "%jd", (intmax_t)-1); testfmt(S_UINT64MAX, "%ju", UINT64_MAX); + if (sizeof(ptrdiff_t) != sizeof(uintmax_t)) + atf_tc_expect_fail("the %%t qualifier is broken on 32-bit " + "platforms where there's a mismatch between ptrdiff_t and " + "uintmax_t's type width; bug # 191674"); + testfmt("-1", "%td", (ptrdiff_t)-1); testfmt(S_SIZEMAX, "%tu", (size_t)-1); |