summaryrefslogtreecommitdiffstats
path: root/tests/config.sh
diff options
context:
space:
mode:
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=(