Skip to content

Commit

Permalink
tests: Add opt 'sof-logger' to verify-sof-firmware
Browse files Browse the repository at this point in the history
Add opt 'sof-logger' (OPT_VAL['s']=1 to
verify-sof-firmware-load.sh test.
This is the fix for:
/case-lib/lib.sh: line 955: [: -eq: unary operator expected

Signed-off-by: Artur Wilczak <[email protected]>
  • Loading branch information
arikgreen committed Feb 6, 2025
1 parent b366ea4 commit 3256720
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test-case/verify-sof-firmware-load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ set -e
# shellcheck source=case-lib/lib.sh
source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh

OPT_NAME['s']='sof-logger' OPT_DESC['s']="Open sof-logger trace the data will store at $LOG_ROOT"
OPT_HAS_ARG['s']=0 OPT_VAL['s']=1

func_opt_parse_option "$@"

disable_kernel_check_point
Expand Down

0 comments on commit 3256720

Please sign in to comment.