mirror of https://gerrit.osmocom.org/libosmocore
Pau Espin
e7d0d70ce7
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 |
||
---|---|---|
.. | ||
coding_test.c | ||
coding_test.ok |