Commit 1ad99987 authored by Joseph Jang's avatar Joseph Jang Committed by Shuah Khan
Browse files

selftest: rtc: Check if could access /dev/rtc0 before testing



The rtctest requires the read permission on /dev/rtc0. The rtctest will
be skipped if the /dev/rtc0 is not readable.

Reviewed-by: default avatarKoba Ko <kobak@nvidia.com>
Reviewed-by: default avatarMatthew R. Ochs <mochs@nvidia.com>
Signed-off-by: default avatarJoseph Jang <jjang@nvidia.com>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 9852d85e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment