Commit 2024c5e
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 d861894 commit 2024c5e
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
| 1239 | + | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | 1244 | | |
1245 | | - | |
| 1245 | + | |
| 1246 | + | |
1246 | 1247 | | |
1247 | 1248 | | |
1248 | 1249 | | |
1249 | 1250 | | |
1250 | 1251 | | |
1251 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1252 | 1269 | | |
1253 | 1270 | | |
1254 | 1271 | | |
| |||
0 commit comments