aboutsummaryrefslogtreecommitdiffstats
path: root/tests/subchan_demux
AgeCommit message (Collapse)AuthorFilesLines
2012-10-12Test parsing of GSM 08.60 frame sync headerTobias Engel2-0/+190
Tests if the frame synchronization header is correctly recognized. The problem tested for is the following: The sync header consists of 16 zero-bits followed by 1 one-bit. Before, subchan_demux only tested for the 16 zero-bits. But if the previous frame ended in one or more zero-bits these were then already counted as belonging to the sync header, leading to a frame that was shifted by one or more bits.
2012-10-12tests: Add a test stub for the subchan_demux testsHolger Hans Peter Freyther2-0/+60
Tobias has worked on CSD support and Dieter has helped with a CSD trau fix. This is a stub that should allow to easily write a test case for the syncing issue observed by Tobias. Run the tests: $ make check In case of failure: $ vi tests/testsuite.dir/1/testsuite.log Add the actual content: $ edit tests/subchan_demux/subchan_demux_test.c Update the test result: $ ./tests/subchan_demux/subchan_demux_test > tests/subchan_demux/subchan_demux_test.ok