diff options
author | Dave Jones <davej@redhat.com> | 2012-12-18 04:04:52 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 05:15:27 +0400 |
commit | 2bf1cbf1c616b4dd85a3a8a715af9c5701c16a91 (patch) | |
tree | d42dd56db8607b3a35cd8727c7f6838753c0a262 /tools/testing/ktest | |
parent | 5a55f8bb2d0c4e5c05837b688ed1b2132a0ed0e7 (diff) | |
download | linux-2bf1cbf1c616b4dd85a3a8a715af9c5701c16a91.tar.xz |
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: Dave Jones <davej@redhat.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/ktest')
0 files changed, 0 insertions, 0 deletions