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 <blp@nicira.com>
Bug #9057.
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