[Armadeus-commitlog] SF.net SVN: armadeus:[1286] trunk/target/test/test_usb_device.sh
Brought to you by:
sszy
|
From: <ar...@us...> - 2009-05-18 15:42:45
|
Revision: 1286
http://armadeus.svn.sourceforge.net/armadeus/?rev=1286&view=rev
Author: artemys
Date: 2009-05-18 15:42:43 +0000 (Mon, 18 May 2009)
Log Message:
-----------
[TEST] Updates USB device test (apf9328)
Modified Paths:
--------------
trunk/target/test/test_usb_device.sh
Modified: trunk/target/test/test_usb_device.sh
===================================================================
--- trunk/target/test/test_usb_device.sh 2009-05-18 15:42:06 UTC (rev 1285)
+++ trunk/target/test/test_usb_device.sh 2009-05-18 15:42:43 UTC (rev 1286)
@@ -18,7 +18,7 @@
{
show_test_banner "USB gadget"
BACKING_FILE="/tmp/backing_file.gz"
- dmesg | grep "imx_udc version"
+ dmesg | grep "imx_udc"
if [ "$?" == 0 ]; then
udhcpc -i eth0
echo "Downloading test file from Internet"
@@ -29,10 +29,16 @@
gunzip /tmp/backing_file.gz
modprobe g_file_storage file=/tmp/backing_file
sleep 1
- ask_user "Please connect your board to your PC and see if a mass storage\ndevice is detected. When done, unmount it and press <ENTER>"
+ ask_user "Please connect your board to your PC and see if a mass storage\ndevice is detected. Try to open the image inside the device.\n Do you see something interesting ? ;-) (y/n)"
+ if [ "$response" == "y" ]; then
+ echo_test_ok
+ else
+ exit_failed
+ fi
else
echo "UDC core not launched"
fi
}
test_usb_gadget
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|