mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove spurious newlines from atf_tc_fail calls
This changes the results from broken (incorrect) to failed (correct) on i386 MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
87d5d10d7d
commit
e57c1140a0
2 changed files with 4 additions and 4 deletions
|
|
@ -80,7 +80,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);
|
||||
}
|
||||
|
||||
|
|
@ -91,7 +91,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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue