summaryrefslogtreecommitdiff
path: root/ubuntu/network-tests-basic.yaml
blob: 07e05b4383b7f909630ab3dce57c4da5f63a8a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
metadata:
    format: Lava-Test Test Definition 1.0
    name: network-tests-basic
    description: "Basic Network Test Command for Linux Linaro ubuntu Images"

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 192.168.1.10
        - echo 'Acquire::http::Proxy "http://192.168.1.10:3128";' > /etc/apt/apt.conf.d/lava-apt-proxy
        - 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 -x http://192.168.1.10:3128 http://samplemedia.linaro.org/MPEG4/big_buck_bunny_720p_MPEG4_MP3_25fps_3300K.AVI > /dev/null