Skip to content

Commit 3256720

Browse files
committed
tests: Add opt 'sof-logger' to verify-sof-firmware
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 <arturx.wilczak@intel.com>
1 parent b366ea4 commit 3256720

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-case/verify-sof-firmware-load.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ set -e
1717
# shellcheck source=case-lib/lib.sh
1818
source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh
1919

20+
OPT_NAME['s']='sof-logger' OPT_DESC['s']="Open sof-logger trace the data will store at $LOG_ROOT"
21+
OPT_HAS_ARG['s']=0 OPT_VAL['s']=1
22+
2023
func_opt_parse_option "$@"
2124

2225
disable_kernel_check_point

0 commit comments

Comments
 (0)