make -C tools/testing/selftests TARGETS="drivers/net/netdevsim" TEST_PROGSS=devlink.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-14/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-14/tools/testing/selftests/drivers/net/netdevsim' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-14/tools/testing/selftests/drivers/net/netdevsim' make[1]: Entering directory '/home/virtme/testing-14/tools/testing/selftests/drivers/net/netdevsim' TAP version 13 1..1 # overriding timeout to 1200 # selftests: drivers/net/netdevsim: devlink.sh # Preparing to flash # Flashing # Flash select # Flashing done # [fw.mgmt] Preparing to flash # [fw.mgmt] Flashing # [fw.mgmt] Flash select # [fw.mgmt] Flashing done # # Preparing to flash # Flashing # Flash select # Flashing done # # Preparing to flash # Flashing # Flash select # Flashing done # # TEST: fw flash test [ OK ] # TEST: params test [ OK ] # TEST: regions test [ OK ] # Error: netdevsim: User setup the reload to fail for testing purposes. # kernel answers: Invalid argument # Error: netdevsim: User forbid the reload for testing purposes. # kernel answers: Operation not supported # TEST: reload test [ OK ] # TEST: netns reload test [ OK ] # Error: netdevsim: Exceeded number of supported fib entries. # Error: netdevsim: Exceeded number of supported fib entries. # kernel answers: Operation not permitted # TEST: resource test [ OK ] # TEST: dev_info test [ OK ] # TEST: empty reporter test [ OK ] # kernel answers: Success # kernel answers: Success # ./devlink.sh: line 508: echo: write error: Invalid argument # Error: netdevsim: User setup the recover to fail for testing purposes. # kernel answers: Invalid argument # kernel answers: Success # TEST: dummy reporter test [ OK ] # TEST: rate test [ OK ] ok 1 selftests: drivers/net/netdevsim: devlink.sh make[1]: Leaving directory '/home/virtme/testing-14/tools/testing/selftests/drivers/net/netdevsim' make: Leaving directory '/home/virtme/testing-14/tools/testing/selftests' xx__-> echo $? 0 xx__->