selftests: rtc: rtctest: add alarm test on minute boundary
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:34:21 +0000 (22:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 16:58:47 +0000 (17:58 +0100)
commit7746dd64c2c9e08c60e2cf735b1bc2c9e227ea0d
tree7874ecad32c9e84460181a5eb3193cb89a92c14f
parent2409a869dad3463878efbae72d6a42087f4614dd
selftests: rtc: rtctest: add alarm test on minute boundary

[ Upstream commit 7b3027728f4d4f6763f4d7e771acfc9424cdd0e6 ]

Unfortunately, some RTC don't have a second resolution for alarm so also
test for alarm on a minute boundary.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/rtc/rtctest.c