From 9f9b6465b4d5f7fccae33ee1266b8b43498db803 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 4 Jun 2013 09:17:34 +0900 Subject: [PATCH] testsuite: make a sed command more portable avoid using some GNU sed extensions, which are not available eg. on NetBSD's /usr/bin/sed. while there are other places these extenstions are used in the testsuite, this instance is new and seems the only one currently being executed for NetBSD. Signed-off-by: YAMAMOTO Takashi 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 37c531b8e..88ab76ac8 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -2202,7 +2202,7 @@ ADD_OF_PORTS([br0], 1, 2) ovs-appctl time/warp 10000 AT_CHECK([ovs-ofctl -O openflow13 dump-ports br0], [0], [stdout]) -AT_CHECK([sed 's/=[[0-9]][[0-9]]\(\.[[0-9]]\{1,\}\)\{,1\}s/=?s/' stdout], [0], +AT_CHECK([sed 's/=[[0-9]][[0-9]]\(\.[[0-9]][[0-9]]*\)\{0,1\}s/=?s/' stdout], [0], [dnl OFPST_PORT reply (OF1.3) (xid=0x2): 3 ports port 1: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0 -- 2.47.0