diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-08-21 13:25:56 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-08-26 16:51:52 -0700 |
| commit | b68dfcc12a320b85cd33d0d673ea620da08d0aec (patch) | |
| tree | b1b311ab922ce08ebff337d2406c580adf5d4fe6 | |
| parent | b8efa810c1db201dece99e4113229e5ecc00db5c (diff) | |
selftests/bpf: Add a missing newline to the "bad arch spec" message
Fix error messages like this one:
parse_test_spec:FAIL:569 bad arch spec: 's390x'process_subtest:FAIL:1153 Can't parse test spec for program 'may_goto_simple'
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20250821113339.292434-3-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
| -rw-r--r-- | tools/testing/selftests/bpf/test_loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_loader.c b/tools/testing/selftests/bpf/test_loader.c index 78423cf89e01..e1987d1959fd 100644 --- a/tools/testing/selftests/bpf/test_loader.c +++ b/tools/testing/selftests/bpf/test_loader.c @@ -566,7 +566,7 @@ static int parse_test_spec(struct test_loader *tester, } else if (strcmp(val, "RISCV64") == 0) { arch = ARCH_RISCV64; } else { - PRINT_FAIL("bad arch spec: '%s'", val); + PRINT_FAIL("bad arch spec: '%s'\n", val); err = -EINVAL; goto cleanup; } |
