Read driver sysfs files

Check that the files in sysfs related to the tested driver can be read.

Scenarios: X3-ST08.

  1. Check whether driver/interface subdirectory can be found in /sys/kernel/debug/.

  2. Read contents of all readable files under /sys/kernel/debug/[driver_module]/nic_[ifname]/.

  3. Check whether driver subdirectory can be found in /sys/module/.

  4. Read contents of all readable files under /sys/module/[driver_module]/.

Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru

Parameters:

env

Testing environment: