The Fedora version of grep (grep (GNU grep) 3.11) complains about the syntax grep "output\:": grep: warning: stray \ before :
Remove the \ which works also for Ubuntu grep version (grep (GNU grep) 3.7). Signed-off-by: Ales Musil <[email protected]> --- tests/ovn.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ovn.at b/tests/ovn.at index 62966752f..cf87b9ad4 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -30435,7 +30435,7 @@ check_packet_tunnel() { as $hv echo "vif$src -> vif$dst should go through tunnel $local_encap_ip -> $remote_encap_ip" tunnel_ofport=$(ovs-vsctl --bare --column=ofport find interface options:local_ip=$local_encap_ip options:remote_ip=$remote_encap_ip) - AT_CHECK([test $(ovs-appctl ofproto/trace br-int in_port=vif$src $packet | grep "output\:" | awk -F ':' '{ print $2 }') == $tunnel_ofport]) + AT_CHECK([test $(ovs-appctl ofproto/trace br-int in_port=vif$src $packet | grep "output:" | awk -F ':' '{ print $2 }') == $tunnel_ofport]) } for i in 1 2; do -- 2.43.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
