aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/healthcheck/test1.robot
blob: a8eba1538c037a0b150e34a2d277764786c733c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** Settings ***
Library           OperatingSystem
Library           Process

*** Variables ***

${health_check}      ${SCRIPTS}/healthcheck/test/health_check.sh
${test1_stdout}      ${OUTPUT_DIR}/test1_healthcheck_STDOUT.log
${test1_stderr}      ${OUTPUT_DIR}/test1_healthcheck_STDERR.log

*** Test Cases ***

Health check test case for NONRTRIC
    [Documentation]                Health check - Test 1
    Log Variables
    ${cli_cmd_output}=              Run Process    ${health_check}    shell=no    stdout=${test1_stdout}    stderr=${test1_stderr}
    Log Many                        Standard output:     ${test1_stdout}    ${\n}    ${cli_cmd_output.stdout}
    Log Many                        Standard error:      ${test1_stderr}    ${\n}    ${cli_cmd_output.stderr}
    Should Be Equal as Integers     ${cli_cmd_output.rc}    0