mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
KVM: selftests: Add a blank line before logging assertion failures
Add a blank line for visual separation, which is especially useful for tests that use carriage returns for same-line printing, in case a failure occurs before a blank line is ever logged by the test. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Yosry Ahmed <yosry@kernel.org> Link: https://patch.msgid.link/20260728174232.2423257-8-yosry@kernel.org Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
parent
2bdef77c60
commit
12f4d8b06a
|
|
@ -78,7 +78,7 @@ test_assert(bool exp, const char *exp_str,
|
|||
if (!(exp)) {
|
||||
va_start(ap, fmt);
|
||||
|
||||
fprintf(stderr, "==== Test Assertion Failure ====\n"
|
||||
fprintf(stderr, "\n==== Test Assertion Failure ====\n"
|
||||
" %s:%u: %s\n"
|
||||
" pid=%d tid=%d errno=%d - %s\n",
|
||||
file, line, exp_str, getpid(), _gettid(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user