diff options
author | ngie <ngie@FreeBSD.org> | 2016-10-21 08:31:15 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-10-21 08:31:15 +0000 |
commit | 9b6a6fe33637cab4f4f1cb90888c68f1d302b427 (patch) | |
tree | 2c80ad9c9b033246cdb3afd8ea08ab82d6cca3cf /lib/libc/tests/stdio/printfloat_test.c | |
parent | f16c623413c8c636aac2f5991ea2b1b7d4ba4933 (diff) | |
download | FreeBSD-src-9b6a6fe33637cab4f4f1cb90888c68f1d302b427.zip FreeBSD-src-9b6a6fe33637cab4f4f1cb90888c68f1d302b427.tar.gz |
MFC r305920:
Remove spurious newlines from atf_tc_fail calls
This changes the results from broken (incorrect) to failed (correct) on
i386
Diffstat (limited to 'lib/libc/tests/stdio/printfloat_test.c')
-rw-r--r-- | lib/libc/tests/stdio/printfloat_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/tests/stdio/printfloat_test.c b/lib/libc/tests/stdio/printfloat_test.c index 2319747..974374f 100644 --- a/lib/libc/tests/stdio/printfloat_test.c +++ b/lib/libc/tests/stdio/printfloat_test.c @@ -72,7 +72,7 @@ _testfmt(const char *result, const char *argstr, const char *fmt,...) vsnprintf(s, sizeof(s), fmt, ap); if (strcmp(result, s) != 0) { atf_tc_fail( - "printf(\"%s\", %s) ==> [%s], expected [%s]\n", + "printf(\"%s\", %s) ==> [%s], expected [%s]", fmt, argstr, s, result); } @@ -83,7 +83,7 @@ _testfmt(const char *result, const char *argstr, const char *fmt,...) vswprintf(ws, sizeof(ws) / sizeof(ws[0]), wfmt, ap2); if (wcscmp(wresult, ws) != 0) { atf_tc_fail( - "wprintf(\"%ls\", %s) ==> [%ls], expected [%ls]\n", + "wprintf(\"%ls\", %s) ==> [%ls], expected [%ls]", wfmt, argstr, ws, wresult); } va_end(ap); |