aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional-tests/hicn-light-ping.robot
blob: ba6beed42a912f073a70097212f08bafc0faafcd (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
*** Settings ***
Resource            ../resources/libraries/robot/common.robot

Test Setup          Run Keywords
...                     Build Topology
...                     1-node
...                     AND
...                     Check Environment
Test Teardown       Run Keywords
...                     Destroy Topology


*** Test Cases ***
Ping with manifest
    Log to console    Test ping with manifest
    ${result} =    Run Process    bash    -x    ${EXECDIR}/config.sh    ping    manifest
    Log Many    stdout:    ${result.stdout}
    Should Be Equal As Integers    ${result.rc}    0

Ping wrong signature
    Log to console    Test ping with wrong signature
    ${result} =    Run Process    bash    -x    ${EXECDIR}/config.sh    ping    signature
    Log Many    stdout:    ${result.stdout}
    Should Be Equal As Integers    ${result.rc}    0

Ping timeout
    Log to console    Test ping timeout
    ${result} =    Run Process    bash    -x    ${EXECDIR}/config.sh    ping    timeout
    Log Many    stdout:    ${result.stdout}
    Should Be Equal As Integers    ${result.rc}    0