summaryrefslogtreecommitdiffstats
path: root/tests/config.sh
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2022-10-14 10:37:53 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2022-10-14 10:41:17 +0200
commitce244039639df2685d285020a723850400b26ed4 (patch)
treebf8390ddeb644aceb44eb067002f12252ffb5fcb /tests/config.sh
parent12d21f032e9a67b327101c42481a546a48a6ac21 (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-xtests/config.sh8
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=(