]> 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)
commita2b9ec9631791775edde3896bdf351a48e52585c
treef9a65ca935ab39ec87e372ed9e8b23680bcf08dc
parentb31c34859cf2ec73793bbd95ad921db325284854
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