summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-20 04:20:10 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-01-05 10:15:47 +0000
commit660729c3986236ae482ed38141ee952b0875e6c8 (patch)
tree9dbd22471fd17b89cdf8c881256df6bfb31a074e
parent86a5aae2187c56957dcae3ef98fd4502be37abb7 (diff)
tests/gsup_test.c: drop session IEs from MO-ForwardSM Error
Both session state and session ID IEs were left from the initial version of Ibe325c64ae2d6c626b232533bb4cbc65fc2b5d71. There is no need to use them (as we use SM-RP-MR), so let's clean up. Change-Id: I0d910b87f15ffbc0aeeca9cb4fcbef32bdf3ef88
-rw-r--r--tests/gsup/gsup_test.c6
-rw-r--r--tests/gsup/gsup_test.err8
2 files changed, 4 insertions, 10 deletions
diff --git a/tests/gsup/gsup_test.c b/tests/gsup/gsup_test.c
index f1945735..4ad7431e 100644
--- a/tests/gsup/gsup_test.c
+++ b/tests/gsup/gsup_test.c
@@ -256,12 +256,6 @@ static void test_gsup_messages_dec_enc(void)
0x25, /* OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR */
TEST_IMSI_IE,
- /* Session related IEs */
- 0x30, 0x04, /* Session ID */
- 0xde, 0xad, 0xbe, 0xef,
- 0x31, 0x01, /* Session state (END) */
- 0x03,
-
/* SM related IEs */
0x40, 0x01, /* SM-RP-MR (Message Reference) */
0xfa,
diff --git a/tests/gsup/gsup_test.err b/tests/gsup/gsup_test.err
index 73b35fc5..225735e9 100644
--- a/tests/gsup/gsup_test.err
+++ b/tests/gsup/gsup_test.err
@@ -58,8 +58,8 @@
generated message: 2a 01 08 21 43 65 87 09 21 43 f5 40 01 fa 43 04 de ad be ef
original message: 2a 01 08 21 43 65 87 09 21 43 f5 40 01 fa 43 04 de ad be ef
IMSI: 123456789012345
- generated message: 25 01 08 21 43 65 87 09 21 43 f5 30 04 de ad be ef 31 01 03 40 01 fa 44 01 af
- original message: 25 01 08 21 43 65 87 09 21 43 f5 30 04 de ad be ef 31 01 03 40 01 fa 44 01 af
+ generated message: 25 01 08 21 43 65 87 09 21 43 f5 40 01 fa 44 01 af
+ original message: 25 01 08 21 43 65 87 09 21 43 f5 40 01 fa 44 01 af
IMSI: 123456789012345
generated message: 2c 01 08 21 43 65 87 09 21 43 f5 46 01 02
original message: 2c 01 08 21 43 65 87 09 21 43 f5 46 01 02
@@ -93,7 +93,7 @@
message 17: tested 33 truncations, 29 parse failures
message 18: tested 44 truncations, 39 parse failures
message 19: tested 20 truncations, 18 parse failures
- message 20: tested 26 truncations, 22 parse failures
+ message 20: tested 17 truncations, 15 parse failures
message 21: tested 14 truncations, 13 parse failures
message 22: tested 22 truncations, 21 parse failures
message 23: tested 14 truncations, 13 parse failures
@@ -119,7 +119,7 @@ DLGSUP Stopping DLGSUP logging
message 17: tested 8448 modifications, 2053 parse failures
message 18: tested 11264 modifications, 2307 parse failures
message 19: tested 5120 modifications, 1031 parse failures
- message 20: tested 6656 modifications, 1546 parse failures
+ message 20: tested 4352 modifications, 1030 parse failures
message 21: tested 3584 modifications, 771 parse failures
message 22: tested 5632 modifications, 771 parse failures
message 23: tested 3584 modifications, 770 parse failures