-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Shellcheck: bazel/ examples/ and other remaining linting issues #13106
Shellcheck: bazel/ examples/ and other remaining linting issues #13106
Conversation
3748b0e
to
20b3a28
Compare
261a3fc
to
d8e54e3
Compare
# TODO(asraa): Remove manual `|| true`, but this shouldn't be necessary. | ||
${TEST_BINARY} $(find fuzz_corpus -type f) -rss_limit_mb=8192 || true | ||
# TODO(asraa): Remove manual `|| :`, but this shouldn't be necessary. | ||
${TEST_BINARY} "$(find fuzz_corpus -type f)" -rss_limit_mb=8192 || : |
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.
im wondering if this will handle multiline output from find
correctly
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.
I don't think it does:
$ printf "1: %s, 2: %s\n" $(printf "a\nb\n")
1: a, 2: b
$ printf "1: %s, 2: %s\n" "$(printf "a\nb\n")"
1: a
b, 2:
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.
which without readarray
means this i think
$ _args="$(printf "a\nb\n")"
$ while read -r line; do args+=("$line"); done \
<<< "$_args"
$ printf "1: %s, 2: %s\n" "${args[@]}"
1: a, 2: b
2a22d6f
to
de07a44
Compare
im thinking that #12889 should probably land before this one as i think one or other will need to rebase |
This looks good to me. Do you want to hold it until #12889 lands? |
yep waiting...
|
705d19b
to
409f62e
Compare
/azp run |
Command 'rerun' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
Commenter does not have sufficient privileges for PR 13106 in repo envoyproxy/envoy |
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
this fails locally but not in ci - perhaps shellcheck version Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
ec49ff3
to
004ac11
Compare
Is this ready to go now? |
yep |
Commit Message: Shellcheck: bazel/ examples/
Additional Description:
Remaining shellcheck cleanups
Risk Level: low
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] fixes #7793
[Optional Deprecated:]