aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2020-04-16 13:42:57 +0200
committerShuah Khan <[email protected]>2020-04-23 15:42:00 -0600
commit6cb1818798812fe7e2c8fe3f489ad1c86adfd6c4 (patch)
treee132f98cdca85f78dbd0c7462ce7d77db4c2f7b1
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
kunit: Add missing newline in summary message
Add missing newline, as otherwise flushing of the final summary message to the console log can be delayed. Fixes: e2219db280e3 ("kunit: add debugfs /sys/kernel/debug/kunit/<suite>/results display") Signed-off-by: Marco Elver <[email protected]> Tested-by: David Gow <[email protected]> Reviewed-by: Alan Maguire <[email protected]> Acked-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
-rw-r--r--lib/kunit/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kunit/test.c b/lib/kunit/test.c
index 7a6430a7fca0..ccb2ffad8dcf 100644
--- a/lib/kunit/test.c
+++ b/lib/kunit/test.c
@@ -93,7 +93,7 @@ static void kunit_print_ok_not_ok(void *test_or_suite,
* representation.
*/
if (suite)
- pr_info("%s %zd - %s",
+ pr_info("%s %zd - %s\n",
kunit_status_to_string(is_ok),
test_number, description);
else