Skip to content

Commit

Permalink
Changed comparator to better handle edge case.
Browse files Browse the repository at this point in the history
Changed -eq 15 to be -ge 15 per Marc.  

This will catch situations where someone fails to update both duplicates at the same time.
  • Loading branch information
greg-intel authored May 25, 2023
1 parent 945d5cf commit 1e1ad96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-case/check-kmod-load-unload-after-playback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ do
dlogi "platform doesn't support runtime pm, skip waiting" && break
[[ $(sof-dump-status.py --dsp_status 0) == "suspended" ]] && break
sleep 1
if [ "$i" -eq 15 ]; then
if [ "$i" -ge 15 ]; then
die "dsp is not suspended after 15s, end test"
fi
done
Expand Down

0 comments on commit 1e1ad96

Please sign in to comment.