linux/tools/testing/selftests/timers
Miroslav Lichvar 7a5de55122 kselftests: timers: Fix inconsistency-check to not ignore first timestamp
When the first timestamp in the list of clock readings was later than
the second timestamp and all other timestamps were in order, the
inconsistency was not reported because the index of the out-of-order
timestamp was equal to the default value.

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>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-06-20 22:14:11 -07:00
..
.gitignore selftests: add missing set-tz to timers .gitignore 2016-12-08 08:51:14 -07:00
adjtick.c timers, kselftest: Add 'adjtick' test to validate adjtimex() tick adjustments 2015-10-12 09:51:34 +02:00
alarmtimer-suspend.c treewide: Fix typo in printk 2016-02-15 11:18:22 +01:00
change_skew.c selftests/timers: Add change_skew test from timetest suite 2015-03-12 13:22:15 -06:00
clocksource-switch.c selftests/timers: fix spelling mistake: "Asynchronous" 2017-04-13 15:51:17 -06:00
inconsistency-check.c kselftests: timers: Fix inconsistency-check to not ignore first timestamp 2017-06-20 22:14:11 -07:00
leap-a-day.c selftest: Timers: Avoid signal deadlock in leap-a-day 2015-06-18 15:28:14 +02:00
leapcrash.c selftests/timers: Add leapcrash test from the timetest suite 2015-03-12 13:22:16 -06:00
Makefile selftests/timers: Spelling s/privledges/privileges/ 2017-03-24 15:45:43 +01:00
mqueue-lat.c selftests/timers: Add mqueue latency test from the timetest suite 2015-03-12 13:22:14 -06:00
nanosleep.c selftests: Add missing #include directives 2015-11-03 16:53:53 -07:00
nsleep-lat.c selftests/timers: Add nsleep-lat test from timetest suite 2015-03-12 13:22:13 -06:00
posix_timers.c selftests/timers: Add missing error code assignment before test 2016-09-20 09:00:28 -06:00
raw_skew.c selftests/timers: Add clock skew estimation test from timetest suite 2015-03-12 13:22:13 -06:00
rtctest.c rtc: rtctest: Change no IRQ detection for RTC_IRQP_SET 2016-06-26 23:43:54 +02:00
set-2038.c selftests/timers: Add set-2038 test from timetest suite 2015-03-12 13:22:16 -06:00
set-tai.c selftests/timers: Add set-tai from the timetest suite 2015-03-12 13:22:16 -06:00
set-timer-lat.c kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM 2015-04-02 10:32:33 -06:00
set-tz.c kselftests: timers: Add set-tz test case 2016-06-02 16:39:56 -06:00
skew_consistency.c selftests/timers: Fix spelling mistake "Asyncrhonous" -> "Asynchronous" 2016-11-29 18:02:57 +01:00
threadtest.c kselftest/timers: Set default threadtest values to simplify execution scripts 2015-03-19 12:03:34 -06:00
valid-adjtimex.c kselftests: timers: Add adjtimex SETOFFSET validity tests 2016-01-26 16:26:06 +01:00