]> Git Repo - J-linux.git/commitdiff
kselftest/arm64: Fix output formatting for za-fork
authorMark Brown <[email protected]>
Thu, 16 Nov 2023 12:52:29 +0000 (12:52 +0000)
committerCatalin Marinas <[email protected]>
Thu, 23 Nov 2023 14:16:15 +0000 (14:16 +0000)
The za-fork test does not output a newline when reporting the result of
the one test it runs, causing the counts printed by kselftest to be
included in the test name.  Add the newline.

Fixes: 266679ffd867 ("kselftest/arm64: Convert za-fork to use kselftest.h")
Cc: <[email protected]> # 6.4.x
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
tools/testing/selftests/arm64/fp/za-fork.c

index b86cb1049497f39647566dcf03e39a96a69e2d23..587b9464822261df0482c3157c619b075c315b87 100644 (file)
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
         */
        ret = open("/proc/sys/abi/sme_default_vector_length", O_RDONLY, 0);
        if (ret >= 0) {
-               ksft_test_result(fork_test(), "fork_test");
+               ksft_test_result(fork_test(), "fork_test\n");
 
        } else {
                ksft_print_msg("SME not supported\n");
This page took 0.052726 seconds and 4 git commands to generate.