diff options
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index a859d072d..593963291 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -505,19 +505,6 @@ static void test_mgcp_parse(void) } } -static void test_mgcp_parse_port(void) -{ - int port; - - fprintf(stderr, "Test MGCP port parsing.\n"); - - port = bsc_mgcp_extract_port(mdcx_resp); - if (port != 4002) { - fprintf(stderr, "Could not parse port. Got: %d\n", port); - abort(); - } -} - int main(int argc, char **argv) { struct debug_target *stderr_target; @@ -533,7 +520,6 @@ int main(int argc, char **argv) test_mgcp_find(); test_mgcp_rewrite(); test_mgcp_parse(); - test_mgcp_parse_port(); return 0; } |