]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: rtc: rtctest: specify timeouts
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 23 May 2019 22:42:23 +0000 (00:42 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 24 May 2019 19:39:58 +0000 (13:39 -0600)
commit5c5bab07f16bc6c9ad75248f1512a15dd9bdebec
treef9a65ca935ab39ec87e372ed9e8b23680bcf08dc
parentfc9827c6668c08abf53eadc443e01e5b847b736c
selftests: rtc: rtctest: specify timeouts

uie_read is a commonly failing test that will block forever on buggy rtc
drivers. Shorten its timeout so it fails earlier. Also increase the timeout
for the two alarm test on a minute boundary.

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