From ce244039639df2685d285020a723850400b26ed4 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Fri, 14 Oct 2022 10:37:53 +0200 Subject: fix(libhicnctrl): new create/face&route command fail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I49d80a741672c4f9da75e36cc816fc53f37ac158 Ticket: HICN-808 Signed-off-by: Jordan Augé --- tests/config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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=( -- cgit