-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simultaneous playback capture shellcheck fixes #1050
Simultaneous playback capture shellcheck fixes #1050
Conversation
The previous source reference for lib.sh triggers shellcheck errors. This clears them up. Signed off by Greg Galloway <[email protected]>
Rewrote exit code checks. Rewrote antiquated and deprecated syntax and commands. (Removed expr and braces) Signed-off-by: Greg Galloway <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good, thanks!
Nit: this commit message seems inaccurate "The previous source reference for lib.sh triggers shellcheck errors."
I do like this phrasing much more. If I adjust the source reference in future files, I'll call this out properly. |
I thought this was referring to the addition of the meta Now I realize this is probably just a confusing way to say "add missing quotes"? |
@@ -74,38 +75,38 @@ do | |||
setup_kernel_check_point | |||
dlogi "===== Testing: (Loop: $i/$loop_cnt) =====" | |||
# following sof-tplgreader, split 'both' pipelines into separate playback & capture pipelines, with playback occurring first | |||
for order in $(seq 0 2 $(expr $PIPELINE_COUNT - 1)) | |||
for order in $(seq 0 2 $(( "$PIPELINE_COUNT" - 1))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for order in $(seq 0 2 $(( "$PIPELINE_COUNT" - 1))) | |
for order in $(seq 0 2 $(( PIPELINE_COUNT - 1))) |
All tests passed, merging |
Fix shellcheck errors per #729
Corrected a source reference. Fixed various quoting issues. Corrected exit codes and updated syntax.
Signed-off-by: Greg Galloway [email protected]