kselftests: timers: Add adjtimex SETOFFSET validity tests
authorJohn Stultz <john.stultz@linaro.org>
Thu, 21 Jan 2016 23:03:35 +0000 (15:03 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 26 Jan 2016 15:26:06 +0000 (16:26 +0100)
commite03a58c320e1103ebe97bda8ebdfcc5c9829c53f
treee6b738bb9b4d9358fe85718cd882ebf675168031
parentdd4e17ab704269bce71402285f5e8b9ac24b1eff
kselftests: timers: Add adjtimex SETOFFSET validity tests

Add some simple tests to check both valid and invalid
offsets when using adjtimex's ADJ_SETOFFSET method.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Harald Hoyer <harald@redhat.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: David Herrmann <dh.herrmann@gmail.com>
Link: http://lkml.kernel.org/r/1453417415-19110-3-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
tools/testing/selftests/timers/valid-adjtimex.c