aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-08-30 19:34:27 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-09-03 15:13:14 +0200
commitac915762ea3977af49383bd914d506da0905c72e (patch)
treeece63db37f88f5eb3501ac55ee76abfb4e16240f /tools/testing
parentselftests/bpf: test_progs: fix verbose mode garbage (diff)
downloadlinux-dev-ac915762ea3977af49383bd914d506da0905c72e.tar.xz
linux-dev-ac915762ea3977af49383bd914d506da0905c72e.zip
selftests/bpf: test_progs: add missing \n to CHECK_FAIL
Copy-paste error from CHECK. Fixes: d38835b75f67 ("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>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/bpf/test_progs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_progs.h b/tools/testing/selftests/bpf/test_progs.h
index 33da849cb765..c8edb9464ba6 100644
--- a/tools/testing/selftests/bpf/test_progs.h
+++ b/tools/testing/selftests/bpf/test_progs.h
@@ -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; \
})