diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-22 19:16:06 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-10-27 10:51:40 +0100 |
commit | fb83ed32d2985362d35151e1fdebc5a62e8b874a (patch) | |
tree | dcaf303822f6cd92f99dacd8f2f8162a35d95c88 /openbsc/tests/gbproxy/gbproxy_test.ok | |
parent | 78ecaf0561bfed3f09ce9c180434da59e71202bd (diff) |
gbproxy/test: Add expect_msg checks to test_gbproxy_keep_info
This patch adds assertions to check the LLC/GMM message received from
the gbproxy by the test framework within the function
test_gbproxy_keep_info.
It also fixes the source address of the DETACH ACC messages.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.ok')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.ok | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.ok b/openbsc/tests/gbproxy/gbproxy_test.ok index d6a4d26ef..ae1839dd7 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.ok +++ b/openbsc/tests/gbproxy/gbproxy_test.ok @@ -5132,14 +5132,14 @@ Peers: TLLI cache size : 1 TLLI-Cache: 1 TLLI efe2b700 -> efe2b700, IMSI 12131415161718, AGE 0 -PROCESSING DETACH ACC from 0x05060708:32000 +PROCESSING DETACH ACC from 0x01020304:1111 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 1d 08 06 3d 1c 8b CALLBACK, event 0, msg length 31, bvci 0x1002 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 1d 08 06 3d 1c 8b -NS UNITDATA MESSAGE to BSS, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) -MESSAGE to BSS at 0x01020304:1111, msg length 35 +NS UNITDATA MESSAGE to SGSN, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) +MESSAGE to SGSN at 0x05060708:32000, msg length 35 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 1d 08 06 3d 1c 8b result (DETACH ACC) = 35 @@ -5222,14 +5222,14 @@ Peers: TLLI cache size : 1 TLLI-Cache: 1 TLLI efe2b700 -> efe2b700, IMSI 12131415161718, AGE 0 -PROCESSING DETACH ACC from 0x05060708:32000 +PROCESSING DETACH ACC from 0x01020304:1111 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 29 08 06 4c bd dd CALLBACK, event 0, msg length 31, bvci 0x1002 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 29 08 06 4c bd dd -NS UNITDATA MESSAGE to BSS, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) -MESSAGE to BSS at 0x01020304:1111, msg length 35 +NS UNITDATA MESSAGE to SGSN, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) +MESSAGE to SGSN at 0x05060708:32000, msg length 35 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 29 08 06 4c bd dd result (DETACH ACC) = 35 @@ -5415,14 +5415,14 @@ Peers: TLLI cache size : 1 TLLI-Cache: 1 TLLI efe2b700 -> efe2b700, IMSI 12131415161718, AGE 0 -PROCESSING DETACH ACC from 0x05060708:32000 +PROCESSING DETACH ACC from 0x01020304:1111 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 45 08 06 c2 34 26 CALLBACK, event 0, msg length 31, bvci 0x1002 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 45 08 06 c2 34 26 -NS UNITDATA MESSAGE to BSS, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) -MESSAGE to BSS at 0x01020304:1111, msg length 35 +NS UNITDATA MESSAGE to SGSN, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) +MESSAGE to SGSN at 0x05060708:32000, msg length 35 00 00 10 02 01 ef e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 45 08 06 c2 34 26 result (DETACH ACC) = 35 @@ -5562,14 +5562,18 @@ Peers: TLLI cache size : 1 TLLI-Cache: 1 TLLI afe2b700 -> afe2b700, IMSI 12131415161718, AGE 0, STORED 1, IMSI acquisition in progress -PROCESSING DETACH ACC from 0x05060708:32000 +PROCESSING DETACH ACC from 0x01020304:1111 00 00 10 02 01 af e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 5d 08 06 11 84 8b CALLBACK, event 0, msg length 31, bvci 0x1002 00 00 10 02 01 af e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 5d 08 06 11 84 8b -NS UNITDATA MESSAGE to BSS, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) -MESSAGE to BSS at 0x01020304:1111, msg length 35 +NS UNITDATA MESSAGE to SGSN, BVCI 0x1002, msg length 75 (gprs_ns_sendmsg) +MESSAGE to SGSN at 0x05060708:32000, msg length 79 +00 00 10 02 01 af e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 34 01 c0 59 08 01 02 f5 e0 21 08 02 05 f4 fb c5 46 79 11 22 33 40 50 60 19 18 b3 43 2b 25 96 62 00 60 80 9a c2 c6 62 00 60 80 ba c8 c6 62 00 60 80 00 a9 8e f1 + +NS UNITDATA MESSAGE to SGSN, BVCI 0x1002, msg length 31 (gprs_ns_sendmsg) +MESSAGE to SGSN at 0x05060708:32000, msg length 35 00 00 10 02 01 af e2 b7 00 00 00 04 08 88 11 22 33 40 50 60 12 34 00 80 0e 00 08 01 c0 5d 08 06 11 84 8b result (DETACH ACC) = 35 |