]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: rtc: rtctest: fix alarm tests
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:34:20 +0000 (22:34 +0100)
committerShuah Khan <shuah@kernel.org>
Tue, 15 Jan 2019 01:49:05 +0000 (18:49 -0700)
commitd056dc93802d32cfb8450c6070556f791bbd99cf
tree0fab788e0e87e3bd930d748afbda0912d84d96f3
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
selftests: rtc: rtctest: fix alarm tests

Return values for select are not checked properly and timeouts may not be
detected.

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