mgcp: Print message when the test is finished

This commit is contained in:
Holger Hans Peter Freyther 2012-01-06 15:04:43 +01:00
parent 300457b7d2
commit d5b3ca621b
1 changed files with 8 additions and 2 deletions

View File

@ -48,7 +48,11 @@ static void test_auep(void)
{
struct msgb *inp;
struct msgb *msg;
struct mgcp_config *cfg = mgcp_config_alloc();
struct mgcp_config *cfg;
printf("Testing AUEP\n");
cfg = mgcp_config_alloc();
cfg->trunk.number_endpoints = 64;
mgcp_endpoints_allocate(&cfg->trunk);
@ -78,5 +82,7 @@ int main(int argc, char **argv)
osmo_init_logging(&log_info);
test_auep();
return 0;
printf("Done\n");
return EXIT_SUCCESS;
}