aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/healthcheck/test1.robot
diff options
context:
space:
mode:
authorJohnKeeney <john.keeney@est.tech>2022-05-24 12:34:49 +0100
committerJohnKeeney <john.keeney@est.tech>2022-05-25 16:26:44 +0100
commit08486cf3a7972219c3d017d5e47a2c802b225794 (patch)
tree871ede7b291e9d7b94544fd091a29d8494a9ef9e /csit/tests/healthcheck/test1.robot
parentca9a543e882c0fa891230d72311d5f7631d099bc (diff)
Attempt to get stdout&stderr for CSIT tests
Also small tweak for RTD documentation Issue-ID: CCSDK-3675 Change-Id: Idd8acca0e07dc45c6f76a78a321b1075f3ee31ef Signed-off-by: JohnKeeney <john.keeney@est.tech>
Diffstat (limited to 'csit/tests/healthcheck/test1.robot')
-rw-r--r--csit/tests/healthcheck/test1.robot11
1 files changed, 7 insertions, 4 deletions
diff --git a/csit/tests/healthcheck/test1.robot b/csit/tests/healthcheck/test1.robot
index e65928a3..a8eba153 100644
--- a/csit/tests/healthcheck/test1.robot
+++ b/csit/tests/healthcheck/test1.robot
@@ -5,12 +5,15 @@ 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
- ${cli_cmd_output}= Run Process ${health_check}
- Log ${cli_cmd_output.stdout}
+ [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