Skip to content

Commit

Permalink
GH-43548: [R][CI] Use grep -F to simplify matching or rchk output (#4…
Browse files Browse the repository at this point in the history
…3477)

Passing along a minor change we made in our own mimeo of this GHA.

Resolves #43548
* GitHub Issue: #43548

Authored-by: Michael Chirico <chiricom@google.com>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
  • Loading branch information
MichaelChirico authored Aug 3, 2024
1 parent 45b1767 commit 1992cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tasks/r/github.linux.rchk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# ERROR: too many states (abstraction error?))
# https://github.com/kalibera/rchk
run: |
if [ $(grep -c "Suspicious call" rchk.out) -gt 0 ] || [ $(grep -c "\[UP\]" rchk.out) -gt 0 ] || [ $(grep -c "\[PB\]" rchk.out) -gt 0 ]; then
if [ $(grep -Fc "Suspicious call" rchk.out) -gt 0 ] || [ $(grep -Fc "[UP]" rchk.out) -gt 0 ] || [ $(grep -Fc "[PB]" rchk.out) -gt 0 ]; then
echo "Found rchk errors"
cat rchk.out
exit 1
Expand Down

0 comments on commit 1992cc6

Please sign in to comment.