]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/tc-testing: Fix cannot create /sys/bus/netdevsim/new_device: Directory...
authorLi Zhijian <zhijianx.li@intel.com>
Fri, 3 Dec 2021 02:53:23 +0000 (10:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 11:46:41 +0000 (11:46 +0000)
commitdfb9f67494bddbdf0a33fba8f4cc326a4bfef7a2
treeaeb4a24f1eb2c9dce7d812611e3c6666304e77fc
parent4211c4b9b9d7ef91139b950165b7191a096ad450
selftests/tc-testing: Fix cannot create /sys/bus/netdevsim/new_device: Directory nonexistent

Install netdevsim to provide /sys/bus/netdevsim/new_device interface.

It helps to fix:
 # ok 97 9a7d - Change ETS strict band without quantum # skipped - skipped - previous setup failed 11 ce7d
 #
 #
 # -----> prepare stage *** Could not execute: "echo "1 1 4" > /sys/bus/netdevsim/new_device"
 #
 # -----> prepare stage *** Error message: "/bin/sh: 1: cannot create /sys/bus/netdevsim/new_device: Directory nonexistent
 # "
 #
 # -----> prepare stage *** Aborting test run.
 #
 #
 # <_io.BufferedReader name=5> *** stdout ***
 #

Signed-off-by: Li Zhijian <zhijianx.li@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/config
tools/testing/selftests/tc-testing/tdc.sh