diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-08 23:12:17 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-13 14:54:02 +0000 |
commit | 2fa74faf927ed1ca9fc311a206c1e18a7295be7a (patch) | |
tree | 1d36a7411f0e471c20f4b1db84b02e1323463034 /openbsc/tests/oap/oap_client_test.err | |
parent | 3cbc05210192324592cc8b79e12d3095be302f90 (diff) |
oap_client: reject all messages in disabled/uninitialized state
Fixes the bug indicated in oap_client_test.c: adjust to actually expect the
proper behavior.
Also adjust for modified return value for message rejection. Instead of -1,
just expect < 0.
Adjust experr for new error messages.
Related: OS#1592
Change-Id: I16165d228653e8a2689f9df94b77b470c06480c6
Diffstat (limited to 'openbsc/tests/oap/oap_client_test.err')
-rw-r--r-- | openbsc/tests/oap/oap_client_test.err | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/tests/oap/oap_client_test.err b/openbsc/tests/oap/oap_client_test.err index 9e5235753..8c538dc66 100644 --- a/openbsc/tests/oap/oap_client_test.err +++ b/openbsc/tests/oap/oap_client_test.err @@ -1,8 +1,8 @@ - make sure filling with zeros means uninitialized -- reject messages in uninitialized state EXPECTING BUGS -DLOAP OAP registration failed +- reject messages in uninitialized state +DLOAP Received OAP message 5, but the OAP client is not initialized - reject messages in disabled state -DLOAP OAP registration failed +DLOAP Received OAP message 5, but the OAP client is disabled - invalid client_id and shared secret - reset state - only client_id is invalid @@ -23,6 +23,8 @@ DLOAP OAP: AUTN from server: dec4e3848a33000086781158ca40f136 DLOAP OAP: AUTN expected: cec4e3848a33000086781158ca40f136 - all data correct - but refuse to evaluate in uninitialized state +DLOAP Received OAP message 8, but the OAP client is not initialized +DLOAP Received OAP message 8, but the OAP client is disabled - now everything is correct - Expect the challenge response in msg_tx - Receive registration error for the first time. |