]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: usbip: add wait after attach and before checking port status
authorShuah Khan (Samsung OSG) <shuah@kernel.org>
Fri, 5 Oct 2018 22:17:43 +0000 (16:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 14:13:42 +0000 (16:13 +0200)
commit8def12fca8c4c7376f50443fe16bf121d38a3059
tree110a61f0d56f127a6106b8f37f31d8c4ba7c4c4e
parentcc57feb3b8b4dd2db99836ab928838821c89c4fc
selftests: usbip: add wait after attach and before checking port status

Add sleep between attach and "usbip port" check to make sure status is
updated. 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>
tools/testing/selftests/drivers/usb/usbip/usbip_test.sh