From c4dba11a6395722c6522eee7d238bb4fc6685e7d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 4 Jan 2012 16:12:08 -0800 Subject: [PATCH] tests: Fix bug in NetFlow test case. The "sed" command here is intended to replace something like 1234...1234 (where the two numbers are the same) with and something like 1234...2345 (where the two numbers differ) with , but in fact it accidentally changed, e.g., 10...1016 into 16. This commit fixes that. This fixes only a test case, not the code under test. Signed-off-by: Ben Pfaff Bug #9057. --- 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 3ce10293..58d3d233 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -823,7 +823,7 @@ ovs-appctl -t test-netflow exit AT_CHECK([[sed -e 's/, uptime [0-9]*// s/, now [0-9.]*// -s/time \([0-9]*\)\.\.\.\1/time / +s/time \([0-9]*\)\.\.\.\1\b/time / s/time [0-9]*\.\.\.[0-9]*/time / ' netflow.log]], [0], [header: v5, seq 0, engine 2,1 -- 2.30.2