rtc: rtctest: add check for problematic dates
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 19 Jun 2017 09:36:21 +0000 (11:36 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 9 Jul 2017 20:32:03 +0000 (22:32 +0200)
commit69c31226fc9f887dcd5c27a91f5cc0f244a6953e
treea3b31aae2c657f3954fa69323e5785efa44434de
parentc96396f0780e3b217f5194538e6dcd3c22d00122
rtc: rtctest: add check for problematic dates

Some dates could be problematic because they reach the limits of
RTC hardware capabilities.
This patch add various of them but since it will change RTC date
it will be activated only when 'd' args is set.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
tools/testing/selftests/timers/rtctest.c