diff options
| author | Mark Wielaard <[email protected]> | 2022-10-27 18:34:54 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2022-10-27 18:34:54 +0200 |
| commit | 73d016bde224af6d1be7c86fb2ea67af22f7582f (patch) | |
| tree | 1f394025092d8b7f2cbe4278077962fb637181a2 /tests/debuginfod-subr.sh | |
| parent | 6f1ec0ef46e067ac5169880317f37223e96c9732 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tests/debuginfod-subr.sh')
| -rwxr-xr-x | tests/debuginfod-subr.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/debuginfod-subr.sh b/tests/debuginfod-subr.sh index 0b59b5b8..108dff74 100755 --- a/tests/debuginfod-subr.sh +++ b/tests/debuginfod-subr.sh @@ -141,12 +141,12 @@ archive_test() { get_ports() { while true; do PORT1=`expr '(' $RANDOM % 50 ')' + $base` - ss -atn | fgrep ":$PORT1" || break + ss -atn | grep -F ":$PORT1" || break done # Some tests will use two servers, so assign the second var while true; do PORT2=`expr '(' $RANDOM % 50 ')' + $base + 50` - ss -atn | fgrep ":$PORT2" || break + ss -atn | grep -F ":$PORT2" || break done } |
