aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-04-09 16:16:53 +0200
committerlaforge <laforge@osmocom.org>2020-04-17 10:15:05 +0000
commite7d0d70ce7914eb0304f17baf46bc9f00fe634c7 (patch)
treef79133560d2db0569820d27f706e43c27e3f0b67 /include/osmocom
parentce28d2ebbac8f787d70b92e9500a6f1faf6801d8 (diff)
tests/coding_test: Fix test_pdtch() results
When switching the l2 structures passes to test_pdtch() to be constant, it was noted that output of the test changes. This happens because same array is tested several times with different length, incrementing each time. Since the test was modifying the input array directly, it means each new run of test_pdtch() the array was further modified. Upon constifying the structures, we copy the array and hence only modify the required bits each time. Change-Id: Iffd0ca3669eb8d0d2e80d754fc8acbf72f1bebe8
Diffstat (limited to 'include/osmocom')
0 files changed, 0 insertions, 0 deletions