diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-17 22:26:00 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-27 02:37:20 +0200 |
commit | 3f697cdc7157883f5c9a33122a7aa1f8dc5598af (patch) | |
tree | 93d2c12fe8ca7f62e30329a7e5e301a7b1794f30 /tests/test_subscriber.ctrl | |
parent | 446eb0f1bc0ca859873d104dc95509586f211d8e (diff) |
test_subscriber.ctrl: test against octal/hex interpretation of id
Add a large enough subscriber id and add a test that ensures a leading zero is
not interpreted as octal, and that a leading 0x is invalid and not interpreted
as hexadecimal.
Change-Id: Ib468b7cb595cf52331ebb41e6de0e8f57f69e173
Diffstat (limited to 'tests/test_subscriber.ctrl')
-rw-r--r-- | tests/test_subscriber.ctrl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_subscriber.ctrl b/tests/test_subscriber.ctrl index b9be5fe..4cefa4d 100644 --- a/tests/test_subscriber.ctrl +++ b/tests/test_subscriber.ctrl @@ -596,3 +596,19 @@ ms_purged_ps 0 periodic_lu_timer 0 periodic_rau_tau_timer 0 lmsi 00000000 + +GET 100 subscriber.by-id-00123.info +GET_REPLY 100 subscriber.by-id-00123.info +id 123 +imsi 123123 +msisdn 123 +nam_cs 1 +nam_ps 1 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 + +GET 101 subscriber.by-id-0x0123.info +ERROR 101 Invalid value part of 'by-xxx-value' selector. |