[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191129.123031.1495258469954154946.davem@davemloft.net>
Date: Fri, 29 Nov 2019 12:30:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: cascardo@...onical.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, shuah@...nel.org,
sbrivio@...hat.com
Subject: Re: [PATCH] selftests: pmtu: use -oneline for ip route list cache
From: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Date: Thu, 28 Nov 2019 15:58:06 -0300
> Some versions of iproute2 will output more than one line per entry, which
> will cause the test to fail, like:
>
> TEST: ipv6: list and flush cached exceptions [FAIL]
> can't list cached exceptions
>
> That happens, for example, with iproute2 4.15.0. When using the -oneline
> option, this will work just fine:
>
> TEST: ipv6: list and flush cached exceptions [ OK ]
>
> This also works just fine with a more recent version of iproute2, like
> 5.4.0.
>
> For some reason, two lines are printed for the IPv4 test no matter what
> version of iproute2 is used. Use the same -oneline parameter there instead
> of counting the lines twice.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Applied with Fixes: tag added and queued up for -stable.
Thanks.
Powered by blists - more mailing lists