@@ -2276,7 +2276,7 @@ AT_CHECK([grep 'missing argument to .* option' stderr], [0], [ignore])
dnl Unexpected option argument
AT_CHECK([ovn-nbctl --if-exists=foo list Logical_Switch], [1], [], [stderr])
-AT_CHECK([egrep 'option .* doesn'\''t allow an argument|option .* requires an argument' stderr], [0], [ignore])
+AT_CHECK([grep -E 'option .* doesn'\''t allow an argument|option .* requires an argument' stderr], [0], [ignore])
AT_CHECK([ovn-nbctl -- --if-exists=foo list Logical_Switch], [1], [], [stderr])
AT_CHECK([grep 'option on .* does not accept an argument' stderr], [0], [ignore])
@@ -6882,7 +6882,7 @@ ciaddr=`ip_to_hex 0 0 0 0`
request_ip=0
expected_dhcp_opts=""
test_dhcp 18 1 f00000000001 04 0 $ciaddr $offer_ip $request_ip 0 0 ff1000000001 $server_ip 02 $expected_dhcp_opts
-AT_CHECK([fgrep -iq 'DHCPDECLINE from f0:00:00:00:00:01, 10.0.0.4 duplicated' hv1/ovn-controller.log], [0], [])
+AT_CHECK([grep -F -iq 'DHCPDECLINE from f0:00:00:00:00:01, 10.0.0.4 duplicated' hv1/ovn-controller.log], [0], [])
# Send Etherboot.
Inspired by Andreas Stieger's OVS commit 75c355adc057 ("tests: Fix tests with GNU grep 3.8."): https://github.com/openvswitch/ovs/commit/75c355adc057 Signed-off-by: Dumitru Ceara <dceara@redhat.com> --- tests/ovn-nbctl.at | 2 +- tests/ovn.at | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)