From 65ba8e9c89d1529a8ac48db6c47593319e8d3416 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 30 Jul 2012 19:06:03 -0400 Subject: [PATCH] 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 --- tests/ofproto-dpif.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0