aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-10-08 11:06:09 +0200
committerOliver Smith <osmith@sysmocom.de>2019-10-08 11:11:15 +0200
commit2b0bf31183cda9821e1b5c3050df9db342e29a0b (patch)
tree2392e4a1c131f3deba3dc429fc6c13ae89d3669b /tests
parent28f0774e341c3dbe1045ca61a1dd3f1e903f55d0 (diff)
tests/test_nodes.vty: check less libosmocore cmds
Use three dots to avoid checking for exact commands between help and exit, which originate from libosmocore. This avoids test failues when we slightly change the commands, like the change from "write file" to "write file [PATH]" in [1] that is currently causing the vty tests to fail. [1] libosmocore I38edcf902a08b6bd0ebb9aa6fc1a7041421af525 Change-Id: I4a964b86195141e5a50705425206f3602f908999
Diffstat (limited to 'tests')
-rw-r--r--tests/test_nodes.vty28
1 files changed, 4 insertions, 24 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index bf2afaf..2be9617 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -27,12 +27,7 @@ OsmoHLR> list
OsmoHLR> enable
OsmoHLR# list
help
- list
- write terminal
- write file
- write memory
- write
- show running-config
+...
exit
disable
configure terminal
@@ -52,12 +47,7 @@ OsmoHLR# list
OsmoHLR# configure terminal
OsmoHLR(config)# list
help
- list
- write terminal
- write file
- write memory
- write
- show running-config
+...
exit
end
...
@@ -66,12 +56,7 @@ OsmoHLR(config)# list
OsmoHLR(config)# hlr
OsmoHLR(config-hlr)# list
help
- list
- write terminal
- write file
- write memory
- write
- show running-config
+...
exit
end
gsup
@@ -92,12 +77,7 @@ OsmoHLR(config-hlr)# list
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# list
help
- list
- write terminal
- write file
- write memory
- write
- show running-config
+...
exit
end
bind ip A.B.C.D