vty: allow configuring db path from cfg file
So far, the cmdline argument was the only way to set a database file.
Add a similar config to VTY as 'msc' / 'sms-database'. The cmdline arg is stronger
than the 'database' cfg item. DB is not reloaded from VTY command.
Change-Id: I18d954c30fcceb0b36a620b927fd3a93dcc79f49
diff --git a/tests/msc_vlr/msc_vlr_test_no_authen.err b/tests/msc_vlr/msc_vlr_test_no_authen.err
index 236aacd..a353949 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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 @@
===== 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