Chase Qi | f69ac94 | 2016-02-04 02:01:12 -0800 | [diff] [blame] | 1 | metadata: |
| 2 | name: usb-storage |
| 3 | format: "Manual Test Definition 1.0" |
| 4 | description: "Basic test for USB keyboard functionality" |
| 5 | maintainer: |
| 6 | - chase.qi@linaro.org |
| 7 | os: |
| 8 | - android |
| 9 | - linux |
| 10 | scope: |
| 11 | - functional |
| 12 | devices: |
| 13 | - panda |
| 14 | - panda-es |
| 15 | - arndale |
| 16 | - hi6220-hikey |
| 17 | - apq8016-sbc |
| 18 | - hi6220-hikey |
| 19 | - apq8016-sbc |
| 20 | environment: |
| 21 | - manual-test |
| 22 | |
| 23 | run: |
| 24 | steps: |
| 25 | - Login in as root and plug in your USB storage device. |
| 26 | - Run "demsg" to find the device ID. Take "sda1" for example. |
| 27 | - Run the following command to mount the disk. Modify the disk format as needed. |
| 28 | - On Linux, run "mount /dev/sda1 /mnt/" |
| 29 | - On Android, run "mount -t vfat /dev/block/sda1 /mnt/" |
| 30 | - Copy a file to /mnt and then delete the file. |
| 31 | - Execute "umount /mnt" to umount the device. |
| 32 | |
| 33 | expected: |
| 34 | - Disk mount and umount tests are successful. |
| 35 | - File copying is successful and the file can be deleted. |
| 36 | - No crash is observed from serial console. |