tests: Make compatible with FreeBSD's sed.
authorEd Maste <emaste@freebsd.org>
Mon, 30 Jul 2012 23:06:03 +0000 (19:06 -0400)
committerBen Pfaff <blp@nicira.com>
Tue, 31 Jul 2012 00:07:38 +0000 (17:07 -0700)
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 <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/ofproto-dpif.at

index 924e97a..fb57d0c 100644 (file)
@@ -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 <moment>/
+s/time \([0-9]*\)\.\.\.\1$/time <moment>/
 s/time [0-9]*\.\.\.[0-9]*/time <range>/
 ' netflow.log]], [0],
   [header: v5, seq 0, engine 2,1