Commit 3919ac5
committed
lib.sh: Reset ALSA settings at set_alsa()
Reset ALSA settings with `alsactl init` and `alsactl restore`
at `set_alsa()` before it calls `set_alsa_settings` which runs
HW model-specific configuration scripts.
This way a test case can expect that the `set_alsa` call will apply
the DUT's default ALSA settings as the baseline configuration
to avoid side-effects possible after the previous tests execution
(either passed, or failed) as well as other unexpected changes.
Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>1 parent 61d513c commit 3919ac5
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1252 | 1268 | | |
1253 | 1269 | | |
1254 | 1270 | | |
| |||
0 commit comments