diff options
author | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2022-09-14 08:58:55 +0000 |
---|---|---|
committer | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2022-09-14 13:42:31 +0000 |
commit | ab38321508d886f0acd535f0f5f07a3d44e29591 (patch) | |
tree | a46dedcd2dce871cf8c381fd06e3c00c46cd3b27 /tests/functional-tests | |
parent | 6c9f120f028bcca93fd087afa648f653b208eb35 (diff) |
feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping
Ref: HICN-783
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I41c804dd639ee15aee9619732f55e39a3baf1385
Diffstat (limited to 'tests/functional-tests')
-rw-r--r-- | tests/functional-tests/hicn-light-ping.robot | 26 |
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 |