[SRU][Focal][PATCH 0/1] Fix fib_nexthop_nongw running in bionic v5.4

Jose Ogando jose.ogando at canonical.com
Wed Oct 5 20:41:03 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1990800

[Impact]

When running kselftests on Bionic with a 5.4 kernel, it would
fail because of no nexthop capability.

[Fix]

We query the ip command help to know whether it is implemented
or not, and we skip or execute the test accordingly

[Test Plan]

Running the test script directly in Bionic will throw a Skip,
while running it in Focal will throw the test result.

[Where problems could ocurr]

The regression potential for this is low.

[Other Info]

None

Jose Ogando (1):
  UBUNTU: SAUCE: selftests/net: skipping tests for older ip command
    releases

 .../selftests/net/fib_nexthop_nongw.sh        | 20 +++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list