On 23/05/2019 22:29:36+0530, Jeffrin Thalakkottoor wrote:
I get the following result when i run "rtctest" please see the following.... -----------------x------------------------x----------------- $pwd /home/jeffrin/upstream/linux-kselftest/tools/testing/selftests/rtc $./rtctest [==========] Running 7 tests from 2 test cases. [ RUN ] rtc.date_read rtctest.c:32:rtc.date_read:Expected -1 (18446744073709551615) != self->fd (18446744073709551615) rtc.date_read: Test terminated by assertion
Your user probably doesn't have access to the rtc device file.