Commit 0bb4b66
committed
sof-dump-status.py: make -s, -i and -l fail on wrong card numbers
Yet another green failure. Passing a wrong card number now fails as
expected:
./tools/sof-dump-status.py -i 42 >/dev/null
Traceback (most recent call last):
File "./tools/sof-dump-status.py", line 487, in <module>
card_info = sysinfo.proc_card[str(ret_args['id'])]
KeyError: '42'
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 5bb6679 commit 0bb4b66
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
489 | | - | |
| 487 | + | |
490 | 488 | | |
491 | 489 | | |
492 | 490 | | |
493 | 491 | | |
494 | 492 | | |
495 | | - | |
496 | | - | |
497 | | - | |
| 493 | + | |
498 | 494 | | |
499 | 495 | | |
500 | 496 | | |
501 | 497 | | |
502 | 498 | | |
503 | | - | |
504 | | - | |
505 | | - | |
| 499 | + | |
506 | 500 | | |
507 | 501 | | |
508 | 502 | | |
| |||
0 commit comments