diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-20 21:59:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-08 19:17:53 +0200 |
commit | 84da6b1edb806ac0d7b8a0c40c80f83c4b1d92b9 (patch) | |
tree | a1e02159726a11180665078b408ecf6626866273 /tests/smpp_test_runner.py | |
parent | 4283675311d3fde17ca950561909ae483c741c2e (diff) |
Implement IuCS (large refactoring and addition)
osmo-nitb becomes osmo-msc
add DIUCS debug log constant
add iucs.[hc]
add msc vty, remove nitb vty
add libiudummy, to avoid linking Iu deps in tests
Use new msc_tx_dtap() instead of gsm0808_submit_dtap()
libmgcp: add mgcpgw client API
bridge calls via mgcpgw
Enable MSC specific CTRL commands, bsc_base_ctrl_cmds_install() still needs to
be split up.
Change-Id: I5b5b6a9678b458affa86800afb1ec726e66eed88
Diffstat (limited to 'tests/smpp_test_runner.py')
-rw-r--r-- | tests/smpp_test_runner.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/smpp_test_runner.py b/tests/smpp_test_runner.py index 2fd144b2b..7a3a342ec 100644 --- a/tests/smpp_test_runner.py +++ b/tests/smpp_test_runner.py @@ -60,14 +60,14 @@ class TestVTYBase(unittest.TestCase): osmoutil.end_proc(self.proc) -class TestSMPPNITB(TestVTYBase): +class TestSMPPMSC(TestVTYBase): def vty_command(self): - return ["./src/osmo-nitb/osmo-nitb", "-c", - "doc/examples/osmo-nitb/nanobts/openbsc.cfg"] + return ["./src/osmo-msc/osmo-msc", "-c", + "doc/examples/osmo-msc/osmo-msc.cfg"] def vty_app(self): - return (4242, "./src/osmo-nitb/osmo-nitb", "OpenBSC", "nitb") + return (4254, "./src/osmo-msc/osmo-msc", "OsmoMSC", "msc") def testSMPPCrashes(self): # Enable the configuration @@ -84,7 +84,7 @@ class TestSMPPNITB(TestVTYBase): self.assertTrue(self.vty.verify('default-route', [''])) self.assertTrue(self.vty.verify('end', [''])) - # NITB should listen to 2775 now! + # MSC should listen to 2775 now! sck = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sck.setblocking(1) sck.connect(('0.0.0.0', 2775)) @@ -132,6 +132,6 @@ if __name__ == '__main__': os.chdir(workdir) print "Running tests for specific SMPP" suite = unittest.TestSuite() - suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSMPPNITB)) + suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSMPPMSC)) res = unittest.TextTestRunner(verbosity=verbose_level).run(suite) sys.exit(len(res.errors) + len(res.failures)) |