power-management/rtc fails on arm
Bug #1184733 reported by
Daniel Manrique
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Brendan Donegan |
Bug Description
The test simply verifies existence of /dev/rtc:
test -e /dev/rtc || ( echo "ERROR: Real Time Clock not found" >&2 && exit 1 )
On a desktop system /dev/rtc is a symlink to /dev/rtc0. However on arm there's no symlink, so only /dev/rtc0 exists. So, even if the system does have an rtc device, the test fails to account for this naming change and detect it properly.
Related branches
lp:~brendan-donegan/checkbox/bug1184733
- Daniel Manrique (community): Approve
- Brendan Donegan (community): Needs Resubmitting
-
Diff: 114 lines (+32/-7)6 files modifiedcheckbox-old/debian/changelog (+6/-0)
checkbox-old/jobs/hibernate.txt.in (+3/-1)
checkbox-old/jobs/power-management.txt.in (+6/-3)
checkbox-old/jobs/resource.txt.in (+12/-0)
checkbox-old/jobs/stress.txt.in (+3/-1)
checkbox-old/jobs/suspend.txt.in (+2/-2)
tags: | added: tay |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Getting confirmation that /dev/rtc0 is just as good and finding out why there is no symlink (udev rules messed up?). Maybe we can just change it to 'test -e /dev/rtc*'?