aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/memfd
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-04-01 20:43:39 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-04-02 10:32:33 -0600
commit48fd77d1444a387435c3bbc773fa4e7ab6b6aca3 (patch)
treead3b0afd5e44ad7202eb2a4b6ad5607eddd4996c /tools/testing/selftests/memfd
parentselftests: Change memory on-off-test.sh name to be unique (diff)
downloadlinux-dev-48fd77d1444a387435c3bbc773fa4e7ab6b6aca3.tar.xz
linux-dev-48fd77d1444a387435c3bbc773fa4e7ab6b6aca3.zip
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