Skip to content

Commit a73b6b0

Browse files
committed
tests: Add opt 'sof-logger' to verify-kernel-...
Add opt 'sof-logger' (OPT_VAL['s']=1 to verify-kernel-module-load-probe.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 0454acb commit a73b6b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test-case/verify-kernel-module-load-probe.sh

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

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

2124
setup_kernel_check_point

0 commit comments

Comments
 (0)