test/avocado/machine_aspeed.py: Add an I2C RTC test
commit3302184f7f2450a50ce03b825d87434a621f949f
authorCédric Le Goater <clg@kaod.org>
Mon, 13 Jun 2022 12:05:48 +0000 (13 14:05 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 22 Jun 2022 07:49:33 +0000 (22 09:49 +0200)
tree4a414a6074c91219b51e86640d5359c7cef55b56
parent61cf757d1577cdd591d5432c9d9223e52828aa2c
test/avocado/machine_aspeed.py: Add an I2C RTC test

Add an RTC device and check that the output of the hwclock command
matches the current year.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
tests/avocado/machine_aspeed.py