From: Ed Maste Date: Mon, 30 Jul 2012 23:06:03 +0000 (-0400) Subject: tests: Make compatible with FreeBSD's sed. X-Git-Tag: sliver-openvswitch-1.8.90-0~48^2~158 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=65ba8e9c89d1529a8ac48db6c47593319e8d3416;p=sliver-openvswitch.git tests: Make compatible with FreeBSD's sed. FreeBSD sed doesn't support \b, at least in normal mode. Since the string we're matching comes at the end of the line anyway just use $ instead. Signed-off-by: Ed Maste Signed-off-by: Ben Pfaff --- diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 924e97ac2..fb57d0c11 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -962,7 +962,7 @@ ovs-appctl -t test-netflow exit AT_CHECK([[sed -e 's/, uptime [0-9]*// s/, now [0-9.]*// -s/time \([0-9]*\)\.\.\.\1\b/time / +s/time \([0-9]*\)\.\.\.\1$/time / s/time [0-9]*\.\.\.[0-9]*/time / ' netflow.log]], [0], [header: v5, seq 0, engine 2,1