]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/test_printf.c
lib/test_printf.c: account for kvasprintf tests
[mirror_ubuntu-artful-kernel.git] / lib / test_printf.c
index b23ce824766f7e0a41e2293217643e6b9e183b7d..3e21170d327da194c02f8f895dd53dfc1bb84a09 100644 (file)
@@ -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);