This is an automated email from the ASF dual-hosted git repository.
jonkeane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 1992cc64c7 GH-43548: [R][CI] Use grep -F to simplify matching or rchk
output (#43477)
1992cc64c7 is described below
commit 1992cc64c74367579fb587f0431bf4340401c38a
Author: Michael Chirico <[email protected]>
AuthorDate: Sat Aug 3 14:46:18 2024 -0700
GH-43548: [R][CI] Use grep -F to simplify matching or rchk output (#43477)
Passing along a minor change we made in our own mimeo of this GHA.
Resolves #43548
* GitHub Issue: #43548
Authored-by: Michael Chirico <[email protected]>
Signed-off-by: Jonathan Keane <[email protected]>
---
dev/tasks/r/github.linux.rchk.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/tasks/r/github.linux.rchk.yml
b/dev/tasks/r/github.linux.rchk.yml
index a673304ff2..65c17ae751 100644
--- a/dev/tasks/r/github.linux.rchk.yml
+++ b/dev/tasks/r/github.linux.rchk.yml
@@ -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