1. 26 9月, 2017 2 次提交
  2. 23 8月, 2017 1 次提交
  3. 18 8月, 2017 2 次提交
    • G
      kselftests: timers: set-timer-lat: Add one-shot timer test cases · 28be3f8f
      Greg Hackmann 提交于
      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: NGreg Hackmann <ghackmann@google.com>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      28be3f8f
    • G
      kselftests: timers: set-timer-lat: Tweak reporting when timer fires early · a524b118
      Greg Hackmann 提交于
      Rather than printing an error inside the alarm signal handler, set a
      flag that we check later.  This keeps the test from spamming the console
      every time the alarm fires early.  It also fixes the test exiting with
      error code 0 if this was the only test failure.
      
      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: NGreg Hackmann <ghackmann@google.com>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      a524b118
  4. 03 4月, 2015 1 次提交
  5. 01 4月, 2015 1 次提交
  6. 13 3月, 2015 1 次提交