From: Dave Jones Date: Tue, 18 Dec 2012 00:04:52 +0000 (-0800) Subject: tools/testing/selftests/kcmp/kcmp_test.c: print reason for failure in kcmp_test X-Git-Tag: v3.8-rc1~74^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf1cbf1c616b4dd85a3a8a715af9c5701c16a91;p=pandora-kernel.git 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 Acked-by: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed