Chase Qi | bc883c3 | 2014-07-23 18:10:50 +0800 | [diff] [blame] | 1 | metadata: |
| 2 | name: andriod-ethernet |
| 3 | format: "Manual Test Definition 1.0" |
| 4 | description: "Test if ethernet can be configured and works well" |
| 5 | maintainer: |
| 6 | - botao.sun@linaro.org |
| 7 | os: |
| 8 | - android |
| 9 | scope: |
| 10 | - functional |
| 11 | devices: |
| 12 | - panda |
| 13 | - panda-es |
| 14 | - vexpress-a9 |
| 15 | - vexpress-tc2 |
| 16 | - arndale |
| 17 | environment: |
| 18 | - manual-test |
| 19 | |
| 20 | run: |
| 21 | steps: |
| 22 | - "Manually Configuration: Device IP: 192.168.1.7; Router (Gateway) IP: 192.168.1.1; Google DNS Server: 8.8.8.8" |
| 23 | - "After the board booted successfully, in serial console, run: |
| 24 | # busybox ifconfig eth0 192.168.1.7 netmask 255.255.255.0 up |
| 25 | # route add default gw 192.168.1.1 dev eth0 |
| 26 | # setprop net.dns1 192.168.1.1 |
| 27 | # setprop net.dns2 8.8.8.8 |
| 28 | # setprop net.eth0.dns1 192.168.1.1 |
| 29 | # setprop net.eth0.dns2 8.8.8.8 |
| 30 | # busybox ping www.google.com" |
| 31 | - "Power OFF and Power ON the board again" |
| 32 | - "After the board booted successfully, enable the Ethernet (if it is not enabled) in network manager, then back to serial console and run: |
| 33 | # busybox ifconfig -a |
| 34 | # busybox ping www.google.com" |
| 35 | |
| 36 | expected: |
| 37 | - "IP address should be assigned successfully" |
| 38 | - "No data loss in ping test" |