summaryrefslogtreecommitdiff
path: root/tests/run-debuginfod-archive-rename.sh
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-10-27 18:34:54 +0200
committerMark Wielaard <mark@klomp.org>2022-10-27 18:34:54 +0200
commit73d016bde224af6d1be7c86fb2ea67af22f7582f (patch)
tree1f394025092d8b7f2cbe4278077962fb637181a2 /tests/run-debuginfod-archive-rename.sh
parent6f1ec0ef46e067ac5169880317f37223e96c9732 (diff)
downloadelfutils-73d016bde224af6d1be7c86fb2ea67af22f7582f.tar.gz
Use grep -E instead of egrep, use grep -F instead of fgrep.
GNU grep 3.8 gives a deprecation warning when using egrep or fgrep. Just use grep -E and grep -F. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/run-debuginfod-archive-rename.sh')
-rwxr-xr-xtests/run-debuginfod-archive-rename.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-debuginfod-archive-rename.sh b/tests/run-debuginfod-archive-rename.sh
index a1a6cc1e..71f7742a 100755
--- a/tests/run-debuginfod-archive-rename.sh
+++ b/tests/run-debuginfod-archive-rename.sh
@@ -95,7 +95,7 @@ export DEBUGINFOD_URLS=http://127.0.0.1:$PORT1
archive_test bc1febfd03ca05e030f0d205f7659db29f8a4b30 /usr/src/debug/hello-1.0/hello.c $SHA
archive_test f0aa15b8aba4f3c28cac3c2a73801fefa644a9f2 /usr/src/debug/hello-1.0/hello.c $SHA
-egrep '(libc.error.*rhel7)|(bc1febfd03ca)|(f0aa15b8aba)' vlog$PORT1
+grep -E '(libc.error.*rhel7)|(bc1febfd03ca)|(f0aa15b8aba)' vlog$PORT1
kill $PID1
wait $PID1