Skip to content

Commit 04165b7

Browse files
committed
multiple-pause-resume.sh: fix two minor quote warnings
Now shellcheck clean before thesofproject#1025 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 02aafc0 commit 04165b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-case/multiple-pause-resume.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ END
143143
# to prevent infinite loop, 5 second per a repeat is plenty
144144
max_wait_time=$((5 * repeat_count))
145145

146-
for i in $(seq 1 $loop_count)
146+
for i in $(seq 1 "$loop_count")
147147
do
148148
dlogi "===== Loop count( $i / $loop_count ) ====="
149149
# set up checkpoint for each iteration
@@ -184,7 +184,7 @@ do
184184
dlogi "pipeline: $pcm with ${cmd_idx_lst[$idx]}"
185185
done
186186
dlogi "Check expect exit status"
187-
for pid in ${pid_lst[*]}
187+
for pid in "${pid_lst[@]}"
188188
do
189189
wait "$pid" || {
190190
sof-kernel-log-check.sh "$KERNEL_CHECKPOINT" || true

0 commit comments

Comments
 (0)