diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-23 02:04:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-23 12:25:13 +0000 |
commit | 473485c903c16c36198d6317a0545f109785cf21 (patch) | |
tree | 56a063d57071188bae97bef3d977bc968db02178 /tests/ctrl | |
parent | c1991df2c496835bd2bdfda6c79c5100dea56a8d (diff) |
gsm0808_test: cosmetic: test non-hex MCC
The test currently sets the MCC by a hex value, which is a weird choice. The
MCC gets BCD'd and hence we will see the decimal values 1:1 in the encoded
octets as hex digits. Using hex as input obscures that:
Right now it sets mcc = 0x123, which is actually 291 in decimal, and we hence
see "92 .1" in the expected BCD result. Using 0x124 in the test source actually
makes it hard to see where the 0x123 went.
Change the MCC to decimal notation (123, 124, 125) and adjust the expected
encoded output.
Change-Id: I973835c54a90fefe50d2b3581324d12556715f58
Diffstat (limited to 'tests/ctrl')
0 files changed, 0 insertions, 0 deletions