OSDN Git Service

kselftests: timers: leap-a-day: Change default arguments to help test runs
authorJohn Stultz <john.stultz@linaro.org>
Fri, 18 Aug 2017 23:23:32 +0000 (16:23 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 22 Aug 2017 17:34:52 +0000 (11:34 -0600)
commit98b74e1f31045a63f6148b2d129ca9bf244e24ab
treeb39f1f823092929fb09b3fde9a4f133cf72e13d7
parentb841065043f996e2bf7648786485f3935625592b
kselftests: timers: leap-a-day: Change default arguments to help test runs

Change default arguments for leap-a-day to always set the time
each iteration (rather then waiting for midnight UTC), and to
only run 10 interations (rather then infinite).

If one wants to wait for midnight UTC, they can use the new -w
flag, and we add a note to the argument help that -i -1 will
run infinitely.

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: John Stultz <john.stultz@linaro.org>
Cc: stable <stable@vger.kernel.org> [4.13+]
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/timers/leap-a-day.c