selftests/timers: Add nanosleep test from timetest suite
authorJohn Stultz <john.stultz@linaro.org>
Thu, 12 Mar 2015 00:39:59 +0000 (17:39 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 12 Mar 2015 19:22:13 +0000 (13:22 -0600)
commit689f32fbb81356efac9fac99c740c4c232634c41
treeed6c1e3092905f578b7f47b013e11d65d62624e8
parent2430ec652dd67243484c90fe34a4433622fc2a30
selftests/timers: Add nanosleep test from timetest suite

Add my basic nanosleep test from my timetest suite.
This test validates that nanosleep doesn't return early
against a number of clockids.

Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/timers/Makefile
tools/testing/selftests/timers/nanosleep.c [new file with mode: 0644]