summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-07-25 14:36:26 -0700
committerJohn Stultz <john.stultz@linaro.org>2017-08-17 12:14:58 -0700
commit28be3f8f48cfb3cf024860f042d424cd4824f5f7 (patch)
tree47d9c085f9218d2cce26962ed724a10445cdca0e /kernel/time
parenta524b1184b8e86141d689fa78ad150fbf2db9b4c (diff)
kselftests: timers: set-timer-lat: Add one-shot timer test cases
These testcases are motivated by a recent alarmtimer regression, which caused one-shot CLOCK_{BOOTTIME,REALTIME}_ALARM timers to become periodic timers. The new testcases are very similar to the existing testcases for repeating timers. But rather than waiting for 5 alarms, they wait for 5 seconds and verify that the alarm fired exactly once. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Cc: Miroslav Lichvar <mlichvar@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Stephen Boyd <stephen.boyd@linaro.org> Cc: Shuah Khan <shuah@kernel.org> Cc: linux-kselftest@vger.kernel.org Signed-off-by: Greg Hackmann <ghackmann@google.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions