summaryrefslogtreecommitdiff
path: root/ubuntu/network-tests-basic.yaml
blob: 28425d7dcd38e605769c0b598cb5e070893fa17c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
metadata:
    format: Lava-Test Test Definition 1.0
    name: network-tests-basic
    description: "Basic network test commands for Linaro Ubuntu images"
    maintainer:
        - botao.sun@linaro.org
        - milosz.wasilewski@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - panda
        - panda-es
        - arndale
        - vexpress-a9
        - vexpress-tc2

run:
    steps:
        - lava-test-case linux-linaro-ubuntu-netstat --shell netstat -an
        - lava-test-case linux-linaro-ubuntu-ifconfig-dump --shell ifconfig -a
        - lava-test-case linux-linaro-ubuntu-route-dump-a --shell route
        - lava-test-case linux-linaro-ubuntu-route-ifconfig-up-lo --shell ifconfig lo up
        - lava-test-case linux-linaro-ubuntu-route-dump-b --shell route
        - lava-test-case linux-linaro-ubuntu-route-ifconfig-up --shell ifconfig eth0 up
        - lava-test-case linux-linaro-ubuntu-route-ifconfig-down --shell ifconfig eth0 down
        - lava-test-case linux-linaro-ubuntu-route-dhclient --shell dhclient -v eth0
        - lava-test-case linux-linaro-ubuntu-route-dump-c --shell route
        - lava-test-case linux-linaro-ubuntu-ping --shell ping -c 5 10.0.0.1
        - lava-test-case linux-linaro-ubuntu-apt-get --shell apt-get update
        - lava-test-case linux-linaro-ubuntu-apt-get-curl --shell apt-get install -q -y curl
        - lava-test-case linux-linaro-ubuntu-curl-big-video --shell curl http://samplemedia.linaro.org/MPEG4/big_buck_bunny_720p_MPEG4_MP3_25fps_3300K.AVI > /dev/null