Commit 00a2d21
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 4fb2d67 commit 00a2d21
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
831 | | - | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| |||
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 | + | |
1252 | 1268 | | |
1253 | 1269 | | |
1254 | 1270 | | |
| |||
0 commit comments