Skip to content

Commit

Permalink
selftests/bpf: test_progs: add missing \n to CHECK_FAIL
Browse files Browse the repository at this point in the history
Copy-paste error from CHECK.

Fixes: d38835b ("selftests/bpf: test_progs: remove global fail/success counts")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
Stanislav Fomichev authored and Daniel Borkmann committed Sep 3, 2019
1 parent d80507d commit ac91576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/test_progs.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ extern struct ipv6_packet pkt_v6;
int __ret = !!(condition); \
if (__ret) { \
test__fail(); \
printf("%s:FAIL:%d ", __func__, __LINE__); \
printf("%s:FAIL:%d\n", __func__, __LINE__); \
} \
__ret; \
})
Expand Down

0 comments on commit ac91576

Please sign in to comment.