aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vty/vty_test.ok
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-30 14:55:49 +0200
committerpespin <pespin@sysmocom.de>2020-07-30 21:02:03 +0000
commitd92be9ad13322268ec46073f4d271c4b34687dd7 (patch)
treea12368f9c9c0cc1c17b427b65f144921c344ef31 /tests/vty/vty_test.ok
parenteb028fa1df17347e8ddf0c1ae59d57af95883cf8 (diff)
tests: vty: Extend test to do some numeric range validations
As per current status, the numeric tests are expected to fail due to a couple bugs which will be fixed in next commits. Change-Id: Id5b17bd96d7af4ed9a77ebbea0e6be4b0fcbde6c
Diffstat (limited to 'tests/vty/vty_test.ok')
-rw-r--r--tests/vty/vty_test.ok7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/vty/vty_test.ok b/tests/vty/vty_test.ok
index d2c96111..d81c6c72 100644
--- a/tests/vty/vty_test.ok
+++ b/tests/vty/vty_test.ok
@@ -311,4 +311,11 @@ Returned: 0, Current node: 1 '%s> '
Going to execute 'ambiguous_str arg keyword'
Called: 'ambiguous_str ARG keyword'
Returned: 0, Current node: 1 '%s> '
+Going to test test_numeric_range()
+Going to execute 'numeric-range 0'
+Returned: 2, Current node: 1 '%s> '
+Going to execute 'numeric-range 40000'
+Returned: 2, Current node: 1 '%s> '
+Going to execute 'numeric-range -400000'
+Returned: 2, Current node: 1 '%s> '
All tests passed