osmo-msc/openbsc/tests/db
Max e6052c4cc7 Make random MSISDN assignment optional
Previously if subscriber was automatically created it got assigned
random MSISDN number. Make it optional (defaulting to previous behavior)
by adding following:

* new optional no-extension argument for subscriber-create-on-demand vty
  command
* db unit tests
* vty test

Note: using the db made with new code might result in subscribers with
empty extension. Such subscribers cannot be deleted using old
code. Make sure not to mix db versions or manually fix it by editing
sqlite with external program.

Fixes: OS#1658
Change-Id: Ibbc2e88e4722b08854ebc631485f19ed56443cbb
2016-07-09 19:52:54 +00:00
..
Makefile.am libmsc: Use RAND_bytes when choosing a tmsi 2015-10-12 09:03:15 +02:00
db_test.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
db_test.err db: Fix next fall-out with make distcheck 2014-05-01 07:53:42 +02:00
db_test.ok tests: Introduce running tests with GNU autotest in OpenBSC 2012-01-06 18:52:05 +01:00
hlr.sqlite3 db: Add testcase for the db migration. 2014-04-30 15:31:57 +02:00