aboutsummaryrefslogtreecommitdiffstats
path: root/tests/appc/healthcheck/APPC_Netstat.robot
diff options
context:
space:
mode:
Diffstat (limited to 'tests/appc/healthcheck/APPC_Netstat.robot')
-rw-r--r--tests/appc/healthcheck/APPC_Netstat.robot5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/appc/healthcheck/APPC_Netstat.robot b/tests/appc/healthcheck/APPC_Netstat.robot
index 285fc372..200a4966 100644
--- a/tests/appc/healthcheck/APPC_Netstat.robot
+++ b/tests/appc/healthcheck/APPC_Netstat.robot
@@ -1,8 +1,11 @@
*** Settings ***
Library OperatingSystem
+Library String
*** Test Cases ***
APPC Netstat
[Documentation] Checking the active ports
- ${output}= Run netstat -a | grep -E 8282 | grep LISTEN
+ ${output}= Run netstat -a | grep -E ":8282 " | grep LISTEN
Log To Console ${output}
+ ${line_count}= Get Line Count ${output}
+ Should Be Equal As Strings ${line_count} 1