summaryrefslogtreecommitdiffstats
path: root/tests/functional-tests/hicn-light-control.robot
blob: e29fc51d600af05f8c7f566e9e2a98b1f2846c9b (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
*** 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 ***
Listeners
  Log to console      Test listeners
  ${result} =         Run Process       ${EXECDIR}/config.sh    ctrl  listeners
  Log Many            stdout:           ${result.stdout}
  Should Be Equal As Integers   ${result.rc}        0
  Should Not Contain            ${result.stdout}    FAILED

Connections
  Log to console      Test connections
  ${result} =         Run Process       ${EXECDIR}/config.sh    ctrl  connections
  Log Many            stdout:           ${result.stdout}
  Should Be Equal As Integers   ${result.rc}        0
  Should Not Contain            ${result.stdout}    FAILED

Routes
  Log to console      Test routes
  ${result} =         Run Process       ${EXECDIR}/config.sh    ctrl  routes
  Log Many            stdout:           ${result.stdout}
  Should Be Equal As Integers   ${result.rc}        0
  Should Not Contain            ${result.stdout}    FAILED