diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2022-10-14 10:37:53 +0200 |
---|---|---|
committer | Jordan Augé <jordan.auge+fdio@cisco.com> | 2022-10-14 10:41:17 +0200 |
commit | ce244039639df2685d285020a723850400b26ed4 (patch) | |
tree | bf8390ddeb644aceb44eb067002f12252ffb5fcb /tests/config.sh | |
parent | 12d21f032e9a67b327101c42481a546a48a6ac21 (diff) |
fix(libhicnctrl): new create/face&route command fail
Change-Id: I49d80a741672c4f9da75e36cc816fc53f37ac158
Ticket: HICN-808
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'tests/config.sh')
-rwxr-xr-x | tests/config.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/config.sh b/tests/config.sh index 428561c7f..0665a5a8a 100755 --- a/tests/config.sh +++ b/tests/config.sh @@ -474,6 +474,14 @@ function test_routes() { echo -n "Remove non-existing route using ID: " command="remove route 5 $PREFIX" assert_cmd_failure "${command}" + + echo -n "Add route and face without interface" + command="add route $PREFIX $COST udp $ADDRESS 9695 127.0.0.1 9695 $INTERFACE" + assert_cmd_success "${command}" + + echo -n "Add route and face without interface" + command="add route $PREFIX $COST udp $ADDRESS 9695 127.0.0.1 9695" + assert_cmd_success "${command}" } declare -A ctrl_tests=( |