aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional-tests/hicn-light-ping.robot
blob: 238f49e0ec4db1d811405a764c06223de76dda3b (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
*** 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       ${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       ${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       ${EXECDIR}/config.sh    ping  timeout
  Log Many            stdout:           ${result.stdout}
  Should Be Equal As Integers   ${result.rc}        0