Skip to content

Commit

Permalink
check-suspend-resume-with-audio.sh: Quoting...
Browse files Browse the repository at this point in the history
Removed unnecessary quoting from array assignments.

Signed-off-by: Greg Galloway <[email protected]>
  • Loading branch information
greg-intel committed Jun 13, 2023
1 parent c70b4d8 commit 32c98bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test-case/check-suspend-resume-with-audio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ fi

func_pipeline_export "$tplg" "type:${OPT_VAL['m']} & ${OPT_VAL['P']}"

opt_arr=("-l" "${OPT_VAL['l']}")
opt_arr=(-l "${OPT_VAL['l']}")
if [ "${OPT_VAL['T']}" ]; then
opt_arr+=("-T" "${OPT_VAL['T']}")
opt_arr+=(-T "${OPT_VAL['T']}")
fi
if [ ${OPT_VAL['r']} -eq 0 ]; then
opt_arr+=("-S" "${OPT_VAL['S']}" "-w" "${OPT_VAL['w']}")
opt_arr+=(-S "${OPT_VAL['S']}" -w "${OPT_VAL['w']}")
else
opt_arr+=("-r")
opt_arr+=(-r)
fi

for idx in $(seq 0 $((PIPELINE_COUNT - 1)))
Expand Down

0 comments on commit 32c98bb

Please sign in to comment.