Lines Matching full:echo

7 usage() { echo "usbip_test.sh -b <busid> -p <usbip tools path>"; exit 1; }
31 echo "Running USB over IP Testing on $busid";
36 echo "Please run usbip_test as root [SKIP]"
37 echo $test_end_msg
41 echo "Load usbip_host module"
43 echo "usbip_test: module usbip_host is not found [SKIP]"
44 echo $test_end_msg
49 echo "usbip_test: module usbip_host is loaded [OK]"
51 echo "usbip_test: module usbip_host failed to load [FAIL]"
52 echo $test_end_msg
56 echo "Load vhci_hcd module"
58 echo "usbip_test: module vhci_hcd is loaded [OK]"
60 echo "usbip_test: module vhci_hcd failed to load [FAIL]"
61 echo $test_end_msg
64 echo "=============================================================="
69 echo "Please build usbip tools"
70 echo $test_end_msg
74 echo "Expect to see export-able devices";
76 echo "=============================================================="
78 echo "Run lsusb to see all usb devices"
80 echo "=============================================================="
84 echo "Get exported devices from localhost - expect to see none";
86 echo "=============================================================="
88 echo "bind devices";
90 echo "=============================================================="
92 echo "Run lsusb - bound devices should be under usbip_host control"
94 echo "=============================================================="
96 echo "bind devices - expect already bound messages"
98 echo "=============================================================="
100 echo "Get exported devices from localhost - expect to see exported devices";
102 echo "=============================================================="
104 echo "unbind devices";
106 echo "=============================================================="
108 echo "Run lsusb - bound devices should be rebound to original drivers"
110 echo "=============================================================="
112 echo "unbind devices - expect no devices bound message";
114 echo "=============================================================="
116 echo "Get exported devices from localhost - expect to see none";
118 echo "=============================================================="
120 echo "List imported devices - expect to see none";
122 echo "=============================================================="
124 echo "Import devices from localhost - should fail with no devices"
126 echo "=============================================================="
128 echo "bind devices";
130 echo "=============================================================="
132 echo "List imported devices - expect to see exported devices";
134 echo "=============================================================="
136 echo "List imported devices - expect to see none";
138 echo "=============================================================="
140 echo "Import devices from localhost - should work"
142 echo "=============================================================="
148 echo "List imported devices - expect to see imported devices";
150 echo "=============================================================="
152 echo "Import devices from localhost - expect already imported messages"
154 echo "=============================================================="
156 echo "Un-import devices";
159 echo "=============================================================="
161 echo "List imported devices - expect to see none";
163 echo "=============================================================="
165 echo "Un-import devices - expect no devices to detach messages";
168 echo "=============================================================="
170 echo "Detach invalid port tests - expect invalid port error message";
172 echo "=============================================================="
174 echo "Expect to see export-able devices";
176 echo "=============================================================="
178 echo "Remove usbip_host module";
181 echo "Run lsusb - bound devices should be rebound to original drivers"
183 echo "=============================================================="
185 echo "Run bind without usbip_host - expect fail"
187 echo "=============================================================="
189 echo "Run lsusb - devices that failed to bind aren't bound to any driver"
191 echo "=============================================================="
193 echo "modprobe usbip_host - does it work?"
195 echo "Should see -busid- is not in match_busid table... skip! dmesg"
196 echo "=============================================================="
198 echo "=============================================================="
200 echo $test_end_msg