[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f8328b65-c8db-a6ae-2e57-5d1807be4afd@mojatatu.com>
Date: Thu, 8 Jul 2021 09:05:03 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Roi Dayan <roid@...dia.com>, netdev@...r.kernel.org
Cc: David Ahern <dsahern@...il.com>,
Hangbin Liu <liuhangbin@...il.com>,
Paul Blakey <paulb@...dia.com>,
Davide Caratti <dcaratti@...hat.com>,
Roman Mashak <mrv@...atatu.com>,
Baowen Zheng <baowen.zheng@...igine.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH net 1/1] tc-testing: Update police test cases
On 2021-07-08 8:11 a.m., Roi Dayan wrote:
[..]
>
> no. old output doesn't have the string "index" and also output of index
> is in hex.
>
> it is possible to make the old version work by allowing without index
> and looking for either the unsigned number or hex number/
>
> but why do we need the old output to work? could use the "old" version
> of the test.
I think that would work if you assume this is only going to run
on the same kernel. But:
In this case because output json, which provides a formally parseable
output, then very likely someone's scripts are dependent on the old
output out there. So things have to be backward/forward compatible.
The new output does look better.
Maybe one approach is to have multiple matchPattern in the tests?
Davide?
We will have to deal with support issues when someone says their
script is broken.
cheers,
jamal
Powered by blists - more mailing lists