volume_test has a strange definition of maximum and minimum
Bug #1077008 reported by
Brendan Donegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
The volume_test script checks whether the detected volume level for audio devices on the system is within a specified 'minimum' and 'maximum' range. Bizarelly though they fail if the volume is also equal to either of these values. In mathematics ' the maximum and minimum of a set (as defined in set theory) are the greatest and least element in the set'. The set here being defined as the allowable values for the volume level, if it is defined as 50-100 then any value including 50 and 100 within that range are valid. Unfortunately it's not possible to change mathematics to make this test work so it needs to be fixed.
Related branches
lp://qastaging/~bladernr/checkbox/1077008-volume_test
- Zygmunt Krynicki (community): Approve
- Jeff Lane : Needs Resubmitting
- Daniel Manrique (community): Approve
-
Diff: 103 lines (+17/-11)2 files modifieddebian/changelog (+2/-0)
scripts/volume_test (+15/-11)
Changed in checkbox: | |
assignee: | nobody → Jeff Lane (bladernr) |
importance: | Undecided → Medium |
status: | New → In Progress |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.