summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/memfd
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-04-02 06:43:39 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2015-04-02 19:32:33 +0300
commit48fd77d1444a387435c3bbc773fa4e7ab6b6aca3 (patch)
treead3b0afd5e44ad7202eb2a4b6ad5607eddd4996c /tools/testing/selftests/memfd
parent072264fee89633b676f656613efff7dd5cdbf88a (diff)
downloadlinux-48fd77d1444a387435c3bbc773fa4e7ab6b6aca3.tar.xz
kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM
The set-timer-lat test fails when testing CLOCK_BOOTTIME_ALARM or CLOCK_REALTIME_ALARM when the user isn't running as root or with CAP_WAKE_ALARM. So this patch improves the error checking so we report the issue more clearly and continue rather then reporting a failure. Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/memfd')
0 files changed, 0 insertions, 0 deletions