Skip to content
Commit 2bf1cbf1 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

tools/testing/selftests/kcmp/kcmp_test.c: print reason for failure in kcmp_test



I was curious why sys_kcmp wasn't working, which led me to the testcase.
It turned out I hadn't enabled CHECKPOINT_RESTORE in the kernel I was
testing.  Add a decoding of errno to the testcase to make that obvious.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5a55f8bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment