aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-03-21 13:44:17 +0100
committerHarald Welte <laforge@gnumonks.org>2018-04-02 19:33:11 +0000
commitc74a5616bf1c77ac40ddd92f4927dca7a1b45bc8 (patch)
tree371943a51347f1de40b1a9627ff5f5d2758e14c6 /tests
parente34161832d936959640d5e5735dfa1ca7bccae13 (diff)
cosmetic: remove dead code
There is a lot of dead code in osmo_bsc_msc.c that used to handle the IPA multiplexed SSCP lite A interface. - remove portions of the dead code - remove IPA Ping related VTY commands Change-Id: I5cf3fec31cc774c902f3cfe6d16fb85ef301694a
Diffstat (limited to 'tests')
-rwxr-xr-xtests/vty_test_runner.py41
1 files changed, 0 insertions, 41 deletions
diff --git a/tests/vty_test_runner.py b/tests/vty_test_runner.py
index 387ea70c5..3b73ce7db 100755
--- a/tests/vty_test_runner.py
+++ b/tests/vty_test_runner.py
@@ -234,47 +234,6 @@ class TestVTYBSC(TestVTYGenericBSC):
res = self.vty.command("show network")
self.assert_(res.startswith('BSC is on Country Code') >= 0)
- def testPingPongConfiguration(self):
- self.vty.enable()
- self.vty.verify("configure terminal", [''])
- self.vty.verify("msc 0", [''])
-
- self.vty.verify("timeout-ping 12", [''])
- self.vty.verify("timeout-pong 14", [''])
- res = self.vty.command("show running-config")
- self.assert_(res.find(" timeout-ping 12") > 0)
- self.assert_(res.find(" timeout-pong 14") > 0)
- self.assert_(res.find(" no timeout-ping advanced") > 0)
-
- self.vty.verify("timeout-ping advanced", [''])
- res = self.vty.command("show running-config")
- self.assert_(res.find(" timeout-ping 12") > 0)
- self.assert_(res.find(" timeout-pong 14") > 0)
- self.assert_(res.find(" timeout-ping advanced") > 0)
-
- self.vty.verify("no timeout-ping advanced", [''])
- res = self.vty.command("show running-config")
- self.assert_(res.find(" timeout-ping 12") > 0)
- self.assert_(res.find(" timeout-pong 14") > 0)
- self.assert_(res.find(" no timeout-ping advanced") > 0)
-
- self.vty.verify("no timeout-ping", [''])
- res = self.vty.command("show running-config")
- self.assertEquals(res.find(" timeout-ping 12"), -1)
- self.assertEquals(res.find(" timeout-pong 14"), -1)
- self.assertEquals(res.find(" no timeout-ping advanced"), -1)
- self.assert_(res.find(" no timeout-ping") > 0)
-
- self.vty.verify("timeout-ping advanced", ['%ping handling is disabled. Enable it first.'])
-
- # And back to enabling it
- self.vty.verify("timeout-ping 12", [''])
- self.vty.verify("timeout-pong 14", [''])
- res = self.vty.command("show running-config")
- self.assert_(res.find(" timeout-ping 12") > 0)
- self.assert_(res.find(" timeout-pong 14") > 0)
- self.assert_(res.find(" timeout-ping advanced") > 0)
-
def testMscDataCoreLACCI(self):
self.vty.enable()
res = self.vty.command("show running-config")