fix test_ranap_rab_ass_resp_decode_encode
There is an extra zero octet at the end of the test data, which does not get encoded back. The test currently does not detect this, but will in upcoming patch I85e715326e1d8f4f301f82f78da109f1a7a92f30. Related: SYS#5895 Change-Id: Ifb98a52e56db1227a834c0d7b7a260314d9f547e
This commit is contained in:
parent
05aaccc42d
commit
a82c8d2425
|
@ -53,7 +53,7 @@ void test_ranap_rab_ass_req_decode_encode(void)
|
|||
0xc0, 0x35, 0x00, 0x01, 0x0a, 0x09, 0x01, 0xa2,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x1f, 0x76,
|
||||
0x00, 0x00, 0x40, 0x01, 0x00, 0x00
|
||||
0x00, 0x00, 0x40, 0x01, 0x00
|
||||
};
|
||||
uint8_t encoded[sizeof(testvec)];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ranap_rab_ass_req_encode rc=93
|
||||
INPUT: 0000005900000100364052000001003500487822cd80102fa7201a2c0000f44c080a028000514000272028140067400000222814003c40000000503d02000227c03500010a0901a200000000000000000000000000401f76000040010000
|
||||
RESULT: 0000005900000100364052000001003500487822cd80102fa7201a2c0000f44c080a028000514000272028140067400000222814003c40000000503d02000227c03500010a0901a200000000000000000000000000401f76000040010000
|
||||
INPUT: 0000005900000100364052000001003500487822cd80102fa7201a2c0000f44c080a028000514000272028140067400000222814003c40000000503d02000227c03500010a0901a200000000000000000000000000401f760000400100
|
||||
RESULT: 0000005900000100364052000001003500487822cd80102fa7201a2c0000f44c080a028000514000272028140067400000222814003c40000000503d02000227c03500010a0901a200000000000000000000000000401f760000400100
|
||||
ranap_rab_ass_resp_encode rc=46
|
||||
INPUT: 6000002a000001003440230000010033401c603a7c3500010a0901a40000000000000000000000000040040a0000
|
||||
RESULT: 6000002a000001003440230000010033401c603a7c3500010a0901a40000000000000000000000000040040a0000
|
||||
|
|
Loading…
Reference in New Issue