selftests/bpf: Count tests skipped by unpriv
authorJoe Stringer <joe@wand.net.nz>
Wed, 14 Feb 2018 21:50:35 +0000 (13:50 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 15 Feb 2018 09:22:55 +0000 (10:22 +0100)
commitd0a0e4956f6c20754ef67db6dfb9746e85ecdcb5
treec25957de64a8132f22587386efad69d89f3dfe56
parent95f87a9706d0a55ff02a652bc8f1b3f7d51bf5eb
selftests/bpf: Count tests skipped by unpriv

When priviliged tests are skipped due to user rights, count the number of
skipped tests so it's more obvious that the test did not check everything.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_verifier.c