From: John Stultz Date: Thu, 2 Apr 2015 03:43:39 +0000 (-0700) Subject: kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM X-Git-Tag: omap-for-v4.2/o2_dc~193^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48fd77d1444a387435c3bbc773fa4e7ab6b6aca3;p=pandora-kernel.git 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 Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz Signed-off-by: Shuah Khan --- Reading git-diff-tree failed