selftests: usbip: add wait after attach and before checking port statusAdd sleep between attach and "usbip port" check to make sure status isupdated. Running attach and query back shows incorrect
selftests: usbip: add wait after attach and before checking port statusAdd sleep between attach and "usbip port" check to make sure status isupdated. Running attach and query back shows incorrect status.Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
selftests: usbip: remove test_bitmap noiseRemove test_bitmap noise which is a result of cut and paste error.There is no need for this modprobe -q -r test_bitmap noise in thistest.Signed-off-by:
selftests: usbip: remove test_bitmap noiseRemove test_bitmap noise which is a result of cut and paste error.There is no need for this modprobe -q -r test_bitmap noise in thistest.Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
selftests: add test for USB over IP driverAdd test for USB over IP driver. This test runs several tests on a devicespecified in the -b <busid> argument and path to the usbip tools.usbip_test.sh
selftests: add test for USB over IP driverAdd test for USB over IP driver. This test runs several tests on a devicespecified in the -b <busid> argument and path to the usbip tools.usbip_test.sh -b <busid> -p <usbip tools path>e.g:cd tools/testing selftests/drivers/usb/usbipsudo ./usbip_test.sh -b 3-10.2 -p <yoursrctree>/tools/usb/usbipThis test should be run as root and user should build usbip tools beforerunning the test.The usbip test isn't included in the Kselftest run as it requires user tospecify a device to run tests on.Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>