In the mixer test called set_empty_value, the cleanup function is not used
because no cleanup is needed. However the function is defined.
This patch will just remove it
Details
Details
- Reviewers
0mp kp - Commits
- rS357619: mixer: call the cleanup function in a test
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 29182 Build 27114: arc lint + arc unit
Event Timeline
Comment Actions
Hmm. I wonder if it's not better the actually add the cleanup call to the atf_test_case definition.
It's not needed if the test passes, but perhaps it makes sense to try to restore the volume if the test should fail.
Also, if we don't have the cleanup function, do we still need save_mixer_vol?
Comment Actions
Well, if mixer vol "" is changing the volume as a result of a bug, than the restore_mixer_vol is the right thing to do.
0mp: what do you think?