Commit d78a8a7d authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Guido Gunther
Browse files

pytests: add basic test for the m41t80 rtc

as we test for it being rtc0 this basically assumes that it's the only rtc
too.
parent a9368d9c
def test_rtc0_exists():
with open('/sys/class/rtc/rtc0/name') as f:
assert('rtc-m41t80' in f.readline().strip())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment