projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80507d
)
selftests/bpf: test_progs: add missing \n to CHECK_FAIL
author
Stanislav Fomichev
<sdf@google.com>
Sat, 31 Aug 2019 02:34:27 +0000
(19:34 -0700)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Tue, 3 Sep 2019 13:13:14 +0000
(15:13 +0200)
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>
tools/testing/selftests/bpf/test_progs.h
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/test_progs.h
b/tools/testing/selftests/bpf/test_progs.h
index
33da849
..
c8edb94
100644
(file)
--- 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; \
})