Max | f74cfd3 | 2017-03-24 20:16:33 +0100 | [diff] [blame] | 1 | Testing SW Description (de)serialization... |
| 2 | msgb[4096] :: {msgb->len} 45 == 45 {len} - ok]: |
| 3 | SW DESCR (with header) |
| 4 | length: {extracted} 45 = 45 {expected} - OK, failsafe - OK |
| 5 | FILE ID [8 == 8 -> 1, ok] 0 => OK |
| 6 | FILE VERSION [30 == 30 -> 1, ok] 0 => OK |
| 7 | msgb[4096] :: {msgb->len} 44 == 44 {len} - ok]: |
| 8 | SW DESCR (without header) |
| 9 | length: {extracted} 44 = 44 {expected} - OK, failsafe - OK |
| 10 | FILE ID [8 == 8 -> 1, ok] 0 => OK |
| 11 | FILE VERSION [30 == 30 -> 1, ok] 0 => OK |
| 12 | msgb[4096] :: {msgb->len} 89 == 45 {len} - fail]: |
| 13 | SW DESCR (expected failure) |
| 14 | length: {extracted} 44 = 89 {expected} - FAIL, failsafe - OK |
| 15 | FILE ID [8 == 8 -> 1, ok] 0 => OK |
| 16 | FILE VERSION [30 == 30 -> 1, ok] 0 => OK |
| 17 | parsing chained 42 12 00 03 01 02 03 13 00 03 03 04 05 <1st: 13, total: 13> |
| 18 | SW Descr (half) |
| 19 | FILE ID: [3] 01 02 03 => OK |
| 20 | FILE VERSION: [3] 03 04 05 => OK |
| 21 | parsing chained 42 12 00 03 01 02 03 13 00 03 03 04 05 42 12 00 03 09 07 05 13 00 03 06 07 08 <1st: 13, total: 26> |
| 22 | SW Descr (full) |
| 23 | FILE ID: [3] 01 02 03 => OK |
| 24 | FILE VERSION: [3] 03 04 05 => OK |
| 25 | parsing chained 42 12 00 03 09 07 05 13 00 03 06 07 08 <1st: 13, total: 13> |
| 26 | SW Descr ( 2nd) |
| 27 | FILE ID: [3] 09 07 05 => OK |
| 28 | FILE VERSION: [3] 06 07 08 => OK |
| 29 | len: 13 |
| 30 | file_id: 01 02 03 |
| 31 | file_ver: 03 04 05 |
| 32 | test_simple_sw_config(): OK |
| 33 | test_simple_sw_short(): OK |
| 34 | len: 13 |
| 35 | file_id: 01 02 03 |
| 36 | file_ver: 03 04 05 |
| 37 | len: 13 |
| 38 | file_id: 09 07 05 |
| 39 | file_ver: 06 07 08 |
| 40 | test_dual_sw_config(): OK |
| 41 | OK. |