diff options
author | David Ahern <dsahern@gmail.com> | 2019-09-03 15:22:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-05 11:59:39 +0200 |
commit | 91bfb564853f4aaa0487a2b5e9c6ecd400768abd (patch) | |
tree | 33bda1df3257186223142c1cf521fa3ab257e1e1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4255ff0544ee307e9a8acf66000e6fd49e9203f8 (diff) |
selftest: A few cleanups for fib_nexthops.sh
Cleanups of the tests in fib_nexthops.sh
1. Several tests noted unexpected route output, but the
discrepancy was not showing in the summary output and
overlooked in the verbose output. Add a WARNING message
to the summary output to make it clear a test is not showing
expected output.
2. Several check_* calls are missing extra data like scope and metric
causing mismatches when the nexthops or routes are correct - some of
them are a side effect of the evolving iproute2 command. Update the
data to the expected output.
3. Several check_routes are checking for the wrong nexthop data,
most likely a copy-paste-update error.
4. A couple of tests were re-using a nexthop id that already existed.
Fix those to use a new id.
Fixes: 6345266a9989 ("selftests: Add test cases for nexthop objects")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions