selftests: vDSO - fix to return KSFT_SKIP when test couldn't be run
authorShuah Khan (Samsung OSG) <shuah@kernel.org>
Fri, 22 Jun 2018 17:43:23 +0000 (11:43 -0600)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 11 Jul 2018 16:14:26 +0000 (10:14 -0600)
commitd2d49495b5c0dffee5c4da5ea12ac0da6679bd08
treeee94f503cfa518085ecdc9fefeb47e2894c25f87
parent29ee92397f2c83c489b72a1ba72ec97484a18a67
selftests: vDSO - fix to return KSFT_SKIP when test couldn't be run

Fix to return KSFT_SKIP when test couldn't be run because AT_SYSINFO_EHDR
isn't found and gettimeofday isn't defined.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/vDSO/vdso_test.c