diff --git a/lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash b/lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash index a3a62822..1e3f459b 100755 --- a/lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash +++ b/lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash @@ -30,7 +30,7 @@ expectation="n[${v6addr}]:$port" result=1 if "${lsof}" -p "${pid}" -a -d fd -P -n -F n \ | tee -a "${report}" \ - | fgrep -q "$expectation"; then + | grep -Fq "$expectation"; then result=0 fi diff --git a/lib/dialects/linux/tests/case-20-pidfd-pid.bash b/lib/dialects/linux/tests/case-20-pidfd-pid.bash index fe439e5e..ceeddb41 100755 --- a/lib/dialects/linux/tests/case-20-pidfd-pid.bash +++ b/lib/dialects/linux/tests/case-20-pidfd-pid.bash @@ -11,7 +11,7 @@ $TARGET | ( exit 77 fi line=$($lsof -p $pid -a -d $fd -F pfn| tr '\n' ' ') - if ! fgrep -q "p${pid} f${fd} n[pidfd:$pid]" <<<"$line"; then + if ! grep -Fq "p${pid} f${fd} n[pidfd:$pid]" <<<"$line"; then $lsof -p $pid -a -d $fd -F pfn echo echo $line