From 2e109f08c07ca7ca5bc0f134d561cad42840b27c Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 8 Dec 2016 23:35:20 +0100 Subject: oap_client_test: print test descr to stderr, check stderr Related: OS#1592 Change-Id: If1696c8e7bfa696b250f7eac24f08f85f8f492a2 --- openbsc/tests/oap/oap_client_test.err | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 openbsc/tests/oap/oap_client_test.err (limited to 'openbsc/tests/oap/oap_client_test.err') 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 -- cgit v1.2.3