aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional-tests/hicn-light-ping.robot
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-14 15:23:25 +0000
committerGerrit Code Review <gerrit@fd.io>2022-09-14 15:23:25 +0000
commitf7567c8987065582d4ffde710ec54b7abdb619a2 (patch)
treee3a192ef3fa8f690cfec50e172c6a8e8fe82bea6 /tests/functional-tests/hicn-light-ping.robot
parent34e32b751d8060f93646d3fa542ddea73de901c4 (diff)
parentab38321508d886f0acd535f0f5f07a3d44e29591 (diff)
Merge "feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping"
Diffstat (limited to 'tests/functional-tests/hicn-light-ping.robot')
-rw-r--r--tests/functional-tests/hicn-light-ping.robot26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/functional-tests/hicn-light-ping.robot b/tests/functional-tests/hicn-light-ping.robot
new file mode 100644
index 000000000..238f49e0e
--- /dev/null
+++ b/tests/functional-tests/hicn-light-ping.robot
@@ -0,0 +1,26 @@
+*** 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 ***
+Ping with manifest
+ Log to console Test ping with manifest
+ ${result} = Run Process ${EXECDIR}/config.sh ping manifest
+ Log Many stdout: ${result.stdout}
+ Should Be Equal As Integers ${result.rc} 0
+
+Ping wrong signature
+ Log to console Test ping with wrong signature
+ ${result} = Run Process ${EXECDIR}/config.sh ping signature
+ Log Many stdout: ${result.stdout}
+ Should Be Equal As Integers ${result.rc} 0
+
+Ping timeout
+ Log to console Test ping timeout
+ ${result} = Run Process ${EXECDIR}/config.sh ping timeout
+ Log Many stdout: ${result.stdout}
+ Should Be Equal As Integers ${result.rc} 0