The "sed" command here is intended to replace something like 1234...1234 (where the two numbers are the same) with <moment> and something like 1234...2345 (where the two numbers differ) with <range>, but in fact it accidentally changed, e.g., 10...1016 into <moment>16. This commit fixes that.
This fixes only a test case, not the code under test. Signed-off-by: Ben Pfaff <b...@nicira.com> --- tests/ofproto-dpif.at | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 55d1500..61644fd 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -793,7 +793,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 <moment>/ +s/time \([0-9]*\)\.\.\.\1\b/time <moment>/ s/time [0-9]*\.\.\.[0-9]*/time <range>/ ' netflow.log]], [0], [header: v5, seq 0, engine 2,1 -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev