Merge lp:~pieq/checkbox/fix-1595380 into lp:checkbox
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 4409 |
Merged at revision: | 4409 |
Proposed branch: | lp:~pieq/checkbox/fix-1595380 |
Merge into: | lp:checkbox |
Diff against target: |
44 lines (+17/-2) 2 files modified
checkbox-support/checkbox_support/scripts/audio_settings.py (+1/-1) checkbox-support/checkbox_support/scripts/tests/test_audio_settings.py (+16/-1) |
To merge this branch: | bzr merge lp:~pieq/checkbox/fix-1595380 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+298210@code.launchpad.net |
Description of the change
checkbox-support: Adapt audio_settings script to Xenial
We use `pactl` output to store and restore several audio values, such as the volume. Unfortunately, `pactl` output format changes from one release to another. The version shipped with Xenial was breaking out scripts and some of our audio jobs, resulting in false positive issues when performing QA testing.
This commit fixes this while remaining compatible with the `pactl` versionshipping with Trusty.
To test, you can, on Xenial, run the audio jobs that call audio_settings to store and restore the volume (e.g. audio/playback_
+1 for the fix and +1 for the additional unit tests.