diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h index 2122d4b21..61fbc26de 100644 --- a/include/osmocom/msc/gsm_data.h +++ b/include/osmocom/msc/gsm_data.h @@ -30,6 +30,7 @@ struct vlr_instance; struct vlr_subscr; struct gsup_client_mux; +#define SMS_DEFAULT_DB_FILE_PATH "sms.db" #define tmsi_from_string(str) strtoul(str, NULL, 10) enum { @@ -259,6 +260,7 @@ struct gsm_network { /* Whether to use call waiting on the network */ bool call_waiting; + char *sms_db_file_path; }; struct osmo_esme; diff --git a/src/libmsc/msc_net_init.c b/src/libmsc/msc_net_init.c index adb9ca74f..774c7678f 100644 --- a/src/libmsc/msc_net_init.c +++ b/src/libmsc/msc_net_init.c @@ -61,6 +61,8 @@ struct gsm_network *gsm_network_init(void *ctx, mncc_recv_cb_t mncc_recv) if (!net) return NULL; + net->sms_db_file_path = talloc_strdup(net, SMS_DEFAULT_DB_FILE_PATH); + net->plmn = (struct osmo_plmn_id){ .mcc=1, .mnc=1 }; /* Permit a compile-time default of A5/3 and A5/1 */ diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 07a88c261..46d3cf9db 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -426,6 +426,15 @@ DEFUN(cfg_msc, cfg_msc_cmd, #define MNCC_GUARD_TIMEOUT_STR "Set global guard timer for mncc interface activity\n" #define MNCC_GUARD_TIMEOUT_VALUE_STR "guard timer value (sec.)\n" +DEFUN(cfg_sms_database, cfg_sms_database_cmd, + "sms-database PATH", + "Set the path to the MSC-SMS database file\n" + "Relative or absolute file system path to the database file (default is '" SMS_DEFAULT_DB_FILE_PATH "')\n") +{ + osmo_talloc_replace_string(gsmnet, &gsmnet->sms_db_file_path, argv[0]); + return CMD_SUCCESS; +} + DEFUN(cfg_msc_mncc_internal, cfg_msc_mncc_internal_cmd, "mncc internal", @@ -731,6 +740,8 @@ DEFUN(show_nri, show_nri_cmd, static int config_write_msc(struct vty *vty) { vty_out(vty, "msc%s", VTY_NEWLINE); + if (gsmnet->sms_db_file_path && strcmp(gsmnet->sms_db_file_path, SMS_DEFAULT_DB_FILE_PATH)) + vty_out(vty, " sms-database %s%s", gsmnet->sms_db_file_path, VTY_NEWLINE); if (gsmnet->mncc_sock_path) vty_out(vty, " mncc external %s%s", gsmnet->mncc_sock_path, VTY_NEWLINE); vty_out(vty, " mncc guard-timeout %i%s", @@ -2059,6 +2070,7 @@ void msc_vty_init(struct gsm_network *msc_network) install_element(CONFIG_NODE, &cfg_msc_cmd); install_node(&msc_node, config_write_msc); + install_element(MSC_NODE, &cfg_sms_database_cmd); install_element(MSC_NODE, &cfg_msc_assign_tmsi_cmd); install_element(MSC_NODE, &cfg_msc_mncc_internal_cmd); install_element(MSC_NODE, &cfg_msc_mncc_external_cmd); diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c index 4cda39509..4f614dbd4 100644 --- a/src/osmo-msc/msc_main.c +++ b/src/osmo-msc/msc_main.c @@ -105,7 +105,7 @@ static struct { int daemonize; const char *mncc_sock_path; } msc_cmdline_config = { - .database_name = "sms.db", + .database_name = NULL, .config_file = "osmo-msc.cfg", }; @@ -647,9 +647,11 @@ TODO: we probably want some of the _net_ ctrl commands from bsc_base_ctrl_cmds_i /* TODO: is this used for crypto?? Improve randomness, at least we * should try to use the nanoseconds part of the current time. */ - if (db_init(msc_cmdline_config.database_name)) { + if (msc_cmdline_config.database_name) + osmo_talloc_replace_string(msc_network, &msc_network->sms_db_file_path, msc_cmdline_config.database_name); + if (db_init(msc_network->sms_db_file_path)) { fprintf(stderr, "DB: Failed to init database: %s\n", - msc_cmdline_config.database_name); + osmo_quote_str((char*)msc_network->sms_db_file_path, -1)); return 4; } diff --git a/tests/msc_vlr/msc_vlr_test_authen_reuse.err b/tests/msc_vlr/msc_vlr_test_authen_reuse.err index f00470a88..7e6f26130 100644 --- a/tests/msc_vlr/msc_vlr_test_authen_reuse.err +++ b/tests/msc_vlr/msc_vlr_test_authen_reuse.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_auth_use_twice_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -510,7 +510,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_auth_use_twice_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_auth_use_twice_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1042,7 +1042,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:UTRAN-Iu:NONE){MSC_ ===== test_auth_use_twice_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_auth_use_infinitely_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1658,7 +1658,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_auth_use_infinitely_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_auth_use_infinitely_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2302,7 +2302,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:UTRAN-Iu:NONE){MSC_ ===== test_auth_use_infinitely_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_auth_reuse_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2694,7 +2694,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_no_auth_reuse_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_auth_reuse_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3102,8 +3102,8 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:UTRAN-Iu:NONE){MSC_ ===== test_no_auth_reuse_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_call.err b/tests/msc_vlr/msc_vlr_test_call.err index 337483c5f..21ccd2c8e 100644 --- a/tests/msc_vlr/msc_vlr_test_call.err +++ b/tests/msc_vlr/msc_vlr_test_call.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_call_mo - Total time passed: 0.000000 s @@ -474,7 +474,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_call_mo: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_call_mt - Total time passed: 0.000000 s @@ -945,7 +945,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_call_mt: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_call_mt2 - Total time passed: 0.000000 s @@ -1370,7 +1370,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_call_mt2: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_call_mo_to_unknown - Total time passed: 0.000000 s @@ -1798,7 +1798,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_call_mo_to_unknown: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_call_mo_to_unknown_timeout - Total time passed: 0.000000 s @@ -2222,8 +2222,8 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_call_mo_to_unknown_timeout: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_gsm_authen.err b/tests/msc_vlr/msc_vlr_test_gsm_authen.err index 94a257d7b..3677a3675 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_authen.err +++ b/tests/msc_vlr/msc_vlr_test_gsm_authen.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen - Location Update request causes a GSUP Send Auth Info request to HLR @@ -590,7 +590,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_gsm_authen: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen_tmsi - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1421,7 +1421,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x07060504:GERAN-A:NONE){MSC_A ===== test_gsm_authen_tmsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen_imei - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1735,7 +1735,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_gsm_authen_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen_imei_nack - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2002,7 +2002,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_RELEASED}: Dea ===== test_gsm_authen_imei_nack: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen_imei_err - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2270,7 +2270,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_RELEASED}: Dea ===== test_gsm_authen_imei_err: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_authen_tmsi_imei - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2625,7 +2625,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_gsm_authen_tmsi_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_milenage_authen - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3189,7 +3189,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_gsm_milenage_authen: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_wrong_sres_length - Total time passed: 0.000000 s @@ -3334,8 +3334,8 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_wrong_sres_length: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_gsm_ciph.err b/tests/msc_vlr/msc_vlr_test_gsm_ciph.err index 53e8ee6ee..2410ff6a0 100644 --- a/tests/msc_vlr/msc_vlr_test_gsm_ciph.err +++ b/tests/msc_vlr/msc_vlr_test_gsm_ciph.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ciph - Location Update request causes a GSUP Send Auth Info request to HLR @@ -658,7 +658,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_ciph: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ciph_tmsi - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1364,7 +1364,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_ciph_tmsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ciph_imei - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1685,7 +1685,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_ciph_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ciph_imeisv - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1971,7 +1971,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_ciph_imeisv: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ciph_tmsi_imei - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2333,7 +2333,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_ciph_tmsi_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_gsm_ciph_in_umts_env - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2936,7 +2936,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_gsm_ciph_in_umts_env: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_a5_3_supported - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3586,7 +3586,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-42342:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_a5_3_supported: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_cm_service_needs_classmark_update - Location Update request causes a GSUP Send Auth Info request to HLR @@ -4214,8 +4214,8 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-42342:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_cm_service_needs_classmark_update: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_hlr_reject.err b/tests/msc_vlr/msc_vlr_test_hlr_reject.err index d115d4868..d4ed53a1e 100644 --- a/tests/msc_vlr/msc_vlr_test_hlr_reject.err +++ b/tests/msc_vlr/msc_vlr_test_hlr_reject.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_auth_info_unknown_imsi - Location Update request causes a GSUP Send Auth Info request to HLR @@ -101,7 +101,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_hlr_rej_auth_info_unknown_imsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_auth_info_net_fail - Location Update request causes a GSUP Send Auth Info request to HLR @@ -202,7 +202,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_hlr_rej_auth_info_net_fail: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_auth_info_net_fail_reuse_tuples @@ -532,7 +532,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_hlr_rej_auth_info_net_fail_reuse_tuples: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_auth_info_net_fail_no_reuse_tuples @@ -800,7 +800,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_hlr_rej_auth_info_net_fail_no_reuse_tuples: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_auth_info_unkown_imsi_no_reuse_tuples @@ -1069,7 +1069,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_hlr_rej_auth_info_unkown_imsi_no_reuse_tuples: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_acc_but_no_auth_tuples - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1169,7 +1169,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_hlr_acc_but_no_auth_tuples: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_rej_lu - Location Update request causes a GSUP LU request to HLR @@ -1274,7 +1274,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_hlr_rej_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_no_insert_data - Location Update request causes a GSUP LU request to HLR @@ -1392,8 +1392,8 @@ DVLR freeing VLR subscr IMSI-901700000004620 (max total use count was 5) ===== test_hlr_no_insert_data: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_hlr_timeout.err b/tests/msc_vlr/msc_vlr_test_hlr_timeout.err index 07fb6211e..51aa9133f 100644 --- a/tests/msc_vlr/msc_vlr_test_hlr_timeout.err +++ b/tests/msc_vlr/msc_vlr_test_hlr_timeout.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_timeout_lu_auth_info - Total time passed: 0.000000 s @@ -110,7 +110,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_hlr_timeout_lu_auth_info: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_hlr_timeout_lu_upd_loc_result - Total time passed: 0.000000 s @@ -239,8 +239,8 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:LU){MSC_A_ST_RELEASED}: Dea ===== test_hlr_timeout_lu_upd_loc_result: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_ms_timeout.err b/tests/msc_vlr/msc_vlr_test_ms_timeout.err index 2405b65af..a64672a08 100644 --- a/tests/msc_vlr/msc_vlr_test_ms_timeout.err +++ b/tests/msc_vlr/msc_vlr_test_ms_timeout.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ms_timeout_lu_auth_resp - Total time passed: 0.000000 s @@ -129,7 +129,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_ms_timeout_lu_auth_resp: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ms_timeout_cm_auth_resp - Total time passed: 0.000000 s @@ -404,7 +404,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_ms_timeout_cm_auth_resp: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ms_timeout_paging - Total time passed: 0.000000 s @@ -714,7 +714,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_ms_timeout_paging: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_classmark_update_timeout - Total time passed: 0.000000 s @@ -867,8 +867,8 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_classmark_update_timeout: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.err b/tests/msc_vlr/msc_vlr_test_no_authen.err index 236aacd32..a353949de 100644 --- a/tests/msc_vlr/msc_vlr_test_no_authen.err +++ b/tests/msc_vlr/msc_vlr_test_no_authen.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen - Location Update request causes a GSUP LU request to HLR @@ -457,7 +457,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_no_authen: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_tmsi - Location Update request causes a GSUP LU request to HLR @@ -1148,7 +1148,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x07060504:GERAN-A:NONE){MSC_A ===== test_no_authen_tmsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_imei - Location Update request causes a GSUP LU request to HLR @@ -1401,7 +1401,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_no_authen_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_tmsi_imei - Location Update request causes a GSUP LU request to HLR @@ -1689,7 +1689,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_no_authen_tmsi_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_imeisv - Location Update request causes an IMEISV ID request back to the MS @@ -1912,7 +1912,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_no_authen_imeisv: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_imeisv_imei - Location Update request causes an IMEISV ID request back to the MS @@ -2146,7 +2146,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_no_authen_imeisv_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_imeisv_tmsi - Location Update request causes an IMEISV ID request back to the MS @@ -2616,7 +2616,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x07060504:GERAN-A:NONE){MSC_A ===== test_no_authen_imeisv_tmsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_imeisv_tmsi_imei - Location Update request causes an IMEISV ID request back to the MS @@ -2887,7 +2887,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_no_authen_imeisv_tmsi_imei: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_no_authen_subscr_expire - Total time passed: 0.000000 s @@ -3024,8 +3024,8 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_no_authen_subscr_expire: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_reject_concurrency.err b/tests/msc_vlr/msc_vlr_test_reject_concurrency.err index 9b780c556..9faec634c 100644 --- a/tests/msc_vlr/msc_vlr_test_reject_concurrency.err +++ b/tests/msc_vlr/msc_vlr_test_reject_concurrency.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_2nd_conn - Location Update Request on one connection @@ -192,7 +192,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_2nd_conn: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_lu_during_lu - Location Update Request @@ -335,7 +335,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_lu_during_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_cm_during_lu - Location Update Request @@ -483,7 +483,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_cm_during_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_paging_resp_during_lu - Location Update Request @@ -625,7 +625,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_paging_resp_during_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_lu_during_cm @@ -865,7 +865,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:CM_SERVICE_REQ){MSC_A_ST_RE ===== test_reject_lu_during_cm: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_cm_during_cm @@ -1110,7 +1110,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:CM_SERVICE_REQ){MSC_A_ST_RE ===== test_reject_cm_during_cm: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_paging_resp_during_cm @@ -1339,7 +1339,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_paging_resp_during_cm: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_lu_during_paging_resp @@ -1643,7 +1643,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_lu_during_paging_resp: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_accept_cm_during_paging_resp @@ -1971,7 +1971,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:CM_SERVICE_REQ){MSC_A_ST_RE ===== test_accept_cm_during_paging_resp: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_reject_paging_resp_during_paging_resp @@ -2272,8 +2272,8 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_reject_paging_resp_during_paging_resp: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_rest.err b/tests/msc_vlr/msc_vlr_test_rest.err index 51b27db8d..5e44f3102 100644 --- a/tests/msc_vlr/msc_vlr_test_rest.err +++ b/tests/msc_vlr/msc_vlr_test_rest.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_cm_service_without_lu - CM Service Request without a prior Location Updating @@ -65,7 +65,7 @@ DMSC msc_a(IMSI-901700000004620:GERAN-A:CM_SERVICE_REQ){MSC_A_ST_RELEASED}: Deal ===== test_cm_service_without_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_two_lu - Location Update request causes a GSUP LU request to HLR @@ -408,7 +408,7 @@ DMSC msc_a(IMSI-901700000004620:MSISDN-46071:GERAN-A:NONE){MSC_A_ST_RELEASED}: D ===== test_two_lu: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_lu_unknown_tmsi - Location Update request with unknown TMSI sends ID Request for IMSI @@ -590,8 +590,8 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071:TMSI-0x23422342 (max t ===== test_lu_unknown_tmsi: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_ss.err b/tests/msc_vlr/msc_vlr_test_ss.err index ca1809484..3b324d3ab 100644 --- a/tests/msc_vlr/msc_vlr_test_ss.err +++ b/tests/msc_vlr/msc_vlr_test_ss.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ss_ussd_mo_geran - Location Update request causes a GSUP LU request to HLR @@ -241,7 +241,7 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_ss_ussd_mo_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_ss_ussd_no_geran - Location Update request causes a GSUP LU request to HLR @@ -507,8 +507,8 @@ DVLR freeing VLR subscr IMSI-901700000004620:MSISDN-46071 (max total use count w ===== test_ss_ussd_no_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_test_umts_authen.err b/tests/msc_vlr/msc_vlr_test_umts_authen.err index 7f345a1aa..42ed42274 100644 --- a/tests/msc_vlr/msc_vlr_test_umts_authen.err +++ b/tests/msc_vlr/msc_vlr_test_umts_authen.err @@ -1,6 +1,6 @@ DLMGCP MGCP client: using endpoint domain '@mgw' full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -608,7 +608,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:GERAN-A:NONE){MSC_A ===== test_umts_authen_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1216,7 +1216,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:UTRAN-Iu:NONE){MSC_ ===== test_umts_authen_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_auth_ciph_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -1848,7 +1848,7 @@ DMSC msc_a(IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100:UTRAN-Iu:NONE){MSC_ ===== test_umts_auth_ciph_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_resync_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2082,7 +2082,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_umts_authen_resync_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_resync_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2316,7 +2316,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_umts_authen_resync_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_auth_ciph_resync_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2560,7 +2560,7 @@ DVLR freeing VLR subscr IMSI-901700000010650:MSISDN-42342:TMSI-0x03020100 (max t ===== test_umts_auth_ciph_resync_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_too_short_res_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2678,7 +2678,7 @@ DMSC msc_a(IMSI-901700000010650:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_umts_authen_too_short_res_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_too_short_res_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2796,7 +2796,7 @@ DMSC msc_a(IMSI-901700000010650:UTRAN-Iu:LU){MSC_A_ST_RELEASED}: Deallocated, in ===== test_umts_authen_too_short_res_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_too_long_res_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -2914,7 +2914,7 @@ DMSC msc_a(IMSI-901700000010650:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_umts_authen_too_long_res_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_too_long_res_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3032,7 +3032,7 @@ DMSC msc_a(IMSI-901700000010650:UTRAN-Iu:LU){MSC_A_ST_RELEASED}: Deallocated, in ===== test_umts_authen_too_long_res_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_only_sres_geran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3150,7 +3150,7 @@ DMSC msc_a(IMSI-901700000010650:GERAN-A:LU){MSC_A_ST_RELEASED}: Deallocated, inc ===== test_umts_authen_only_sres_geran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 ===== test_umts_authen_only_sres_utran - Location Update request causes a GSUP Send Auth Info request to HLR @@ -3268,8 +3268,8 @@ DMSC msc_a(IMSI-901700000010650:UTRAN-Iu:LU){MSC_A_ST_RELEASED}: Deallocated, in ===== test_umts_authen_only_sres_utran: SUCCESS full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 full talloc report on 'msgb' (total 0 bytes in 1 blocks) -talloc_total_blocks(tall_bsc_ctx) == 20 +talloc_total_blocks(tall_bsc_ctx) == 21 diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c index 21af3ca8d..07a3927af 100644 --- a/tests/msc_vlr/msc_vlr_tests.c +++ b/tests/msc_vlr/msc_vlr_tests.c @@ -1049,31 +1049,32 @@ static void check_talloc(void *msgb_ctx, void *msc_vlr_tests_ctx) talloc_report_full(msgb_ctx, stderr); /* Expecting these to stick around in msc_vlr_tests_ctx: * full talloc report on 'msgb' (total 0 bytes in 1 blocks) - * talloc_total_blocks(tall_bsc_ctx) == 20 - * full talloc report on 'msc_vlr_tests_ctx' (total 6556 bytes in 20 blocks) - * struct osmo_gsup_client contains 264 bytes in 1 blocks (ref 0) 0x613000000260 - * struct gsm_network contains 4791 bytes in 12 blocks (ref 0) 0x6190000000e0 - * struct mgcp_client contains 688 bytes in 1 blocks (ref 0) 0x6180000000e0 - * struct sccp_ran_inst contains 152 bytes in 1 blocks (ref 0) 0x611000000320 - * struct sccp_ran_inst contains 152 bytes in 1 blocks (ref 0) 0x6110000001e0 - * struct gsup_client_mux contains 152 bytes in 2 blocks (ref 0) 0x6100000001a0 - * struct ipaccess_unit contains 64 bytes in 1 blocks (ref 0) 0x60e000023180 - * struct vlr_instance contains 264 bytes in 2 blocks (ref 0) 0x6130000000a0 - * struct osmo_nri_ranges contains 16 bytes in 1 blocks (ref 0) 0x60b000000360 - * no_gsup_server contains 15 bytes in 1 blocks (ref 0) 0x60b0000002b0 - * ../../../src/libosmocore/src/stat_item.c:96 contains 144 bytes in 2 blocks (ref 0) 0x60d000000170 - * ../../../src/libosmocore/src/stat_item.c:118 contains 96 bytes in 1 blocks (ref 0) 0x6100000000a0 - * ../../../src/libosmocore/src/rate_ctr.c:234 contains 2352 bytes in 1 blocks (ref 0) 0x61e0000000e0 - * logging contains 1501 bytes in 5 blocks (ref 0) 0x60b000000200 - * struct log_target contains 244 bytes in 2 blocks (ref 0) 0x6120000000a0 - * struct log_category contains 76 bytes in 1 blocks (ref 0) 0x60f0000000a0 - * struct log_info contains 1256 bytes in 2 blocks (ref 0) 0x60d0000000a0 - * struct log_info_cat contains 1216 bytes in 1 blocks (ref 0) 0x61a0000000e0 - * msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180 + * talloc_total_blocks(tall_bsc_ctx) == 21 + * full talloc report on 'msc_vlr_tests_ctx' (total 6571 bytes in 21 blocks) + * struct osmo_gsup_client contains 264 bytes in 1 blocks (ref 0) 0x5605f2ea2e90 + * struct gsm_network contains 4806 bytes in 13 blocks (ref 0) 0x5605f2ea1b60 + * struct mgcp_client contains 688 bytes in 1 blocks (ref 0) 0x5605f2ea3200 + * struct sccp_ran_inst contains 152 bytes in 1 blocks (ref 0) 0x5605f2ea3100 + * struct sccp_ran_inst contains 152 bytes in 1 blocks (ref 0) 0x5605f2ea3000 + * struct gsup_client_mux contains 152 bytes in 2 blocks (ref 0) 0x5605f2ea2d20 + * struct ipaccess_unit contains 64 bytes in 1 blocks (ref 0) 0x5605f2ea2de0 + * struct vlr_instance contains 264 bytes in 2 blocks (ref 0) 0x5605f2ea2b40 + * struct osmo_nri_ranges contains 16 bytes in 1 blocks (ref 0) 0x5605f2ea2ca0 + * no_gsup_server contains 15 bytes in 1 blocks (ref 0) 0x5605f2ea2ac0 + * stat_item.c:96 contains 144 bytes in 2 blocks (ref 0) 0x5605f2ea2950 + * stat_item.c:118 contains 96 bytes in 1 blocks (ref 0) 0x5605f2ea29f0 + * rate_ctr.c:234 contains 2352 bytes in 1 blocks (ref 0) 0x5605f2ea1fb0 + * sms.db contains 7 bytes in 1 blocks (ref 0) 0x5605f2ea1f40 + * logging contains 1501 bytes in 5 blocks (ref 0) 0x5605f2ea1360 + * struct log_target contains 244 bytes in 2 blocks (ref 0) 0x5605f2ea1990 + * struct log_category contains 76 bytes in 1 blocks (ref 0) 0x5605f2ea1aa0 + * struct log_info contains 1256 bytes in 2 blocks (ref 0) 0x5605f2ea13d0 + * struct log_info_cat contains 1216 bytes in 1 blocks (ref 0) 0x5605f2ea1460 + * msgb contains 0 bytes in 1 blocks (ref 0) 0x5605f2ea12f0 */ fprintf(stderr, "talloc_total_blocks(tall_bsc_ctx) == %zu\n", talloc_total_blocks(msc_vlr_tests_ctx)); - if (talloc_total_blocks(msc_vlr_tests_ctx) != 20) + if (talloc_total_blocks(msc_vlr_tests_ctx) != 21) talloc_report_full(msc_vlr_tests_ctx, stderr); fprintf(stderr, "\n"); } diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty index 520f07c64..d38967534 100644 --- a/tests/test_nodes.vty +++ b/tests/test_nodes.vty @@ -46,6 +46,7 @@ OsmoMSC(config-net)# exit OsmoMSC(config)# msc OsmoMSC(config-msc)# list ... + sms-database PATH assign-tmsi mncc internal mncc external MNCC_SOCKET_PATH