[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54d152b2-1a0b-fbc5-33db-4d70a9ae61e6@mojatatu.com>
Date: Thu, 8 Jul 2021 07:17:36 -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 4:00 a.m., Roi Dayan wrote:
> Update to match fixed output.
>
> Signed-off-by: Roi Dayan <roid@...dia.com>
> ---
>
> Notes:
> Hi,
>
> This is related to commit that was merged
>
> 55abdcf20a57 police: Add support for json output
>
> and also submitted another small fix commit titled
> "police: Small corrections for the output"
>
> Thanks,
> Roi
>
> .../tc-testing/tc-tests/actions/police.json | 62 +++++++++----------
> 1 file changed, 31 insertions(+), 31 deletions(-)
>
> diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/police.json b/tools/testing/selftests/tc-testing/tc-tests/actions/police.json
> index 8e45792703ed..c9623c7afbd1 100644
> --- a/tools/testing/selftests/tc-testing/tc-tests/actions/police.json
> +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/police.json
> @@ -17,7 +17,7 @@
> "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
> "expExitCode": "0",
> "verifyCmd": "$TC actions ls action police",
> - "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb",
> + "matchPattern": "action order [0-9]*: police.*index 1 rate 1Kbit burst 10Kb",
> "matchCount": "1",
> "teardown": [
> "$TC actions flush action police"
Does the old output continue to work here?
cheers,
jamal
Powered by blists - more mailing lists