aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/timers/rtctest_setdate.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30selftests: move RTC tests to rtc subfolderAlexandre Belloni1-86/+0
Move the RTC tests out of the timers folder as they are mostly unrelated. Keep rtcpie in timers as it only test hrtimers. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2017-07-09tools: timer: add rtctest_setdateBenjamin Gaignard1-0/+86
This tool allow to set directly the time and date to a RTC device. Unlike other tools isn't doens't use "struct timeval" or "time_t" so it is safe for 32bits platforms when testing for y2038/2106 bug. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>