aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/oap/oap_client_test.err
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-08 23:35:20 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-13 14:54:02 +0000
commit2e109f08c07ca7ca5bc0f134d561cad42840b27c (patch)
tree117cdcea993ee7b5f890f9ab85f6e8f7c5fa07fc /openbsc/tests/oap/oap_client_test.err
parent28786bb2098d404d5f5eb40fc6bafa866c54b0c1 (diff)
oap_client_test: print test descr to stderr, check stderr
Diffstat (limited to 'openbsc/tests/oap/oap_client_test.err')
-rw-r--r--openbsc/tests/oap/oap_client_test.err28
1 files changed, 28 insertions, 0 deletions
diff --git a/openbsc/tests/oap/oap_client_test.err b/openbsc/tests/oap/oap_client_test.err
new file mode 100644
index 000000000..327223763
--- /dev/null
+++ b/openbsc/tests/oap/oap_client_test.err
@@ -0,0 +1,28 @@
+- make sure filling with zeros means uninitialized
+- invalid client_id and shared secret
+- reset state
+- only client_id is invalid
+- valid id, but omitted shared_secret (1/2)
+DGPRS OAP: client ID set, but secret K missing.
+- valid id, but omitted shared_secret (2/2)
+DGPRS OAP: client ID set, but secret OPC missing.
+- mint configuration
+- Missing challenge data
+DGPRS OAP challenge incomplete (rand_present: 0, autn_present: 0)
+- AUTN missing
+DGPRS OAP challenge incomplete (rand_present: 1, autn_present: 0)
+- RAND missing
+DGPRS OAP challenge incomplete (rand_present: 0, autn_present: 1)
+- wrong autn (by one bit)
+DGPRS OAP: AUTN mismatch!
+DGPRS OAP: AUTN from server: dec4e3848a33000086781158ca40f136
+DGPRS OAP: AUTN expected: cec4e3848a33000086781158ca40f136
+- all data correct
+- but refuse to evaluate in uninitialized state
+- now everything is correct
+- Expect the challenge response in msg_tx
+- Receive registration error for the first time.
+DGPRS OAP registration failed
+- Receive registration error for the Nth time.
+DGPRS OAP registration failed
+- Registration success