diff options
author | Thadeu Lima de Souza Cascardo <cascardo@canonical.com> | 2019-11-28 15:58:06 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-29 12:29:55 -0800 |
commit | 2745aea6750ff0d2c48285d25bdb00e5b636ec8b (patch) | |
tree | 6f11321dc0fa44bdf2a7bde137b89c4c6ff3ad4c /Makefile | |
parent | aaa34256284c8fffddfda88078d5dda2a380cd94 (diff) | |
download | linux-2745aea6750ff0d2c48285d25bdb00e5b636ec8b.tar.bz2 |
selftests: pmtu: use -oneline for ip route list cache
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.
Fixes: b964641e9925 ("selftests: pmtu: Make list_flush_ipv6_exception test more demanding")
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions