aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ccsdk-oran/polmansuite/test.robot
blob: eebe478b23966f6cd5e5104c8265d6f4bf2f778f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** Settings ***
Library       OperatingSystem
Library       Process

*** Test Cases ***

Functional Test Case 1
    [Documentation]                 Functional Test Case 1 - FTC1
    Start Process                   ${AUTOTEST_ROOT}/FTC1.sh   remote  auto-clean  --env-file  ${TEST_ENV}  shell=true   cwd=${AUTOTEST_ROOT}
    ${cli_cmd_output}=              Wait For Process    timeout=3600
    Should Be Equal as Integers     ${cli_cmd_output.rc}    0
    ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC1.txt
    Should Be Equal As Integers     ${ResultFileContent}    0

Functional Test Case 2
    [Documentation]                 Functional Test Case 2 - FTC150
    Start Process                   ${AUTOTEST_ROOT}/FTC150.sh   remote  auto-clean  --env-file  ${TEST_ENV}  shell=true   cwd=${AUTOTEST_ROOT}
    ${cli_cmd_output}=              Wait For Process    timeout=3600
    Should Be Equal as Integers     ${cli_cmd_output.rc}    0
    ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC150.txt
    Should Be Equal As Integers     ${ResultFileContent}    0