]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: add test for USB over IP driver
authorShuah Khan (Samsung OSG) <shuah@kernel.org>
Thu, 31 May 2018 03:00:57 +0000 (21:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 May 2018 15:49:48 +0000 (17:49 +0200)
commit5ef12cb4a3a78ffb331c03a795a15eea4ae35155
tree367751ffec9bb765b54f8830a3ac95a6cc5b5834
parentbc9832c4a1921a662870d51f81a699ec8c18545f
selftests: add test for USB over IP driver

Add test for USB over IP driver. This test runs several tests on a device
specified 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/usbip
sudo ./usbip_test.sh -b 3-10.2 -p <yoursrctree>/tools/usb/usbip

This test should be run as root and user should build usbip tools before
running the test.

The usbip test isn't included in the Kselftest run as it requires user to
specify 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>
MAINTAINERS
tools/testing/selftests/drivers/usb/usbip/usbip_test.sh [new file with mode: 0755]