projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca8e8e
)
lib/test_printf.c: account for kvasprintf tests
author
Rasmus Villemoes
<
[email protected]
>
Sat, 16 Jan 2016 00:59:02 +0000
(16:59 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 16 Jan 2016 19:17:29 +0000
(11:17 -0800)
These should also count as performed tests.
Signed-off-by: Rasmus Villemoes <
[email protected]
>
Acked-by: Kees Cook <
[email protected]
>
Cc: Al Viro <
[email protected]
>
Cc: Andy Shevchenko <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Joe Perches <
[email protected]
>
Cc: Maurizio Lombardi <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
lib/test_printf.c
patch
|
blob
|
history
diff --git
a/lib/test_printf.c
b/lib/test_printf.c
index b23ce824766f7e0a41e2293217643e6b9e183b7d..3e21170d327da194c02f8f895dd53dfc1bb84a09 100644
(file)
--- a/
lib/test_printf.c
+++ b/
lib/test_printf.c
@@
-127,6
+127,7
@@
__test(const char *expect, int elen, const char *fmt, ...)
p = kvasprintf(GFP_KERNEL, fmt, ap);
if (p) {
+ total_tests++;
if (memcmp(p, expect, elen+1)) {
pr_warn("kvasprintf(..., \"%s\", ...) returned '%s', expected '%s'\n",
fmt, p, expect);