The message got changed a lot time ago. This was responsible for 36 test case failures on sparc64.
Unified · Split
| @@ -14230,7 +14230,7 @@ static void do_test_single(struct bpf_test *test, bool unpriv, · 14229 unmodified lines | |||
| 14230 | 14230 | ||
| 14231 | reject_from_alignment = fd_prog < 0 && | 14231 | reject_from_alignment = fd_prog < 0 && |
| 14232 | (test->flags & F_NEEDS_EFFICIENT_UNALIGNED_ACCESS) && | 14232 | (test->flags & F_NEEDS_EFFICIENT_UNALIGNED_ACCESS) && |
| 14233 | strstr(bpf_vlog, "Unknown alignment."); | 14233 | strstr(bpf_vlog, "misaligned"); |
| 14234 | #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS | 14234 | #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS |
| 14235 | if (reject_from_alignment) { | 14235 | if (reject_from_alignment) { |
| 14236 | printf("FAIL\nFailed due to alignment despite having efficient unaligned access: '%s'!\n", | 14236 | printf("FAIL\nFailed due to alignment despite having efficient unaligned access: '%s'!\n", |