summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/Makefile
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 17:40:14 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-12 13:22:16 -0600
commit0d02a753a5f61cc5b57b83d8bd709cb64fe7e81f (patch)
tree223923cf8c13088450c2b21aa303cbd3070b5b45 /tools/testing/selftests/timers/Makefile
parent3a92a15fba68b5c9c8b51ee98a94a3d1ff54c8e5 (diff)
downloadlinux-0d02a753a5f61cc5b57b83d8bd709cb64fe7e81f.tar.bz2
selftests/timers: Add set-2038 test from timetest suite
Adds the set-2038 test which sets the time to near-edge cases like the start and end of the 32 bit epoch and checks that time behaves properly. There is also a dangerous mode, which lets the clock roll over past 2038 on 32bit systems, which on some older kernels will cause system hangs. 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>
Diffstat (limited to 'tools/testing/selftests/timers/Makefile')
-rw-r--r--tools/testing/selftests/timers/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index 7e2fba7fce1c..9da3498987c8 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -5,7 +5,7 @@ LDFLAGS += -lrt -lpthread
bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
set-timer-lat threadtest mqueue-lat valid-adjtimex \
alarmtimer-suspend change_skew skew_consistency clocksource-switch \
- leap-a-day leapcrash set-tai
+ leap-a-day leapcrash set-tai set-2038
all: ${bins}
@@ -33,6 +33,7 @@ run_destructive_tests: run_tests
./leap-a-day -s -i 10
./leapcrash
./set-tai
+ ./set-2038
clean:
rm -f ${bins}