osmo-hlr/tests/db
Neels Hofmeyr bd1dca0859 db_get_auth_data / db_get_auc: clarify return values
Differentiate between "IMSI unknown" and "IMSI has no auth data": in case of
known IMSI lacking auth data, return -ENOKEY instead of -ENOENT.

Fix API doc comments to reflect what the functions actually return, on top of
adding the -ENOKEY detail.

Adjust db_test expectations from -ENOENT to -ENOKEY where appropriate.

Adjust VTY and CTRL command rc evaluation.

A subsequent patch will use these return values to log details on each of these
situations.

Change-Id: Icf6304d23585f2ed45e050fa27c787f2d66fd3f7
2017-11-29 16:22:29 +00:00
..
Makefile.am automatically create db tables on osmo-hlr invocation 2017-10-28 16:49:33 +00:00
db_test.c db_get_auth_data / db_get_auc: clarify return values 2017-11-29 16:22:29 +00:00
db_test.err db_get_auth_data / db_get_auc: clarify return values 2017-11-29 16:22:29 +00:00
db_test.ok add initial db_test: creating and deleting subscribers 2017-10-11 22:32:19 +02:00