summaryrefslogtreecommitdiff
path: root/ci/test-runner-linux
diff options
context:
space:
mode:
authorkxxt <rsworktech@outlook.com>2022-09-21 19:19:09 +0800
committerkxxt <rsworktech@outlook.com>2022-09-21 19:19:09 +0800
commitcb542f938709cdae114aa6c30437010cfbc8338b (patch)
tree14b53010dbdb64cdd41850410e45dced64e3df6e /ci/test-runner-linux
parentd4c4e9214b9e86cdbf68b7f6ca3f064ec148f2e5 (diff)
downloadrust-libc-cb542f938709cdae114aa6c30437010cfbc8338b.tar.gz
refactor: use grep -E instead of egrep
Diffstat (limited to 'ci/test-runner-linux')
-rwxr-xr-xci/test-runner-linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/test-runner-linux b/ci/test-runner-linux
index cad31ec4c0..3ce551944d 100755
--- a/ci/test-runner-linux
+++ b/ci/test-runner-linux
@@ -20,6 +20,6 @@ timeout 30s qemu-system-$arch \
-append init=/run_prog.sh > output || true
# remove kernel messages
-tr -d '\r' < output | egrep -v '^\['
+tr -d '\r' < output | grep -Ev '^\['
-egrep "(PASSED)|(test result: ok)" output > /dev/null
+grep -E "(PASSED)|(test result: ok)" output > /dev/null