summaryrefslogtreecommitdiffstats
path: root/tests/sms
Commit message (Collapse)AuthorAgeFilesLines
* This patch moves the GSM-specific functions to the new libraryPablo Neira Ayuso2011-03-231-1/+1
| | | | | | | | | | libosmogsm which is provided by libosmocore. I have also moved generate_backtrace() to backtrace.c instead of gsm_utils.c, otherwise the timer and msgfile tests depend on libosmogsm. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
* tests: don't hardcode length values of expected encoding gsm_7bit_encode:Nico Golde2010-07-211-11/+10
| | | | | | | | | make sure to return the number of actually written bytes gsm_7bit_decode: calculate length of resulting septets from input length before decoding The input length to gsm_7bit_decode reflects the number of encoded bytes to be decoded. As the decoding is done on the input in septetes we need to take this into account and recalculate the length.
* tests: Separate encoding/decoding test to verify them independlyHolger Hans Peter Freyther2010-07-201-17/+78
| | | | | | Use the current test result as test data for future regression testing. The encode function appears to add too many zeros to the text.
* * rewrite GSM 7bit default encoding/decoding based on a lookup table as the ↵Nico Golde2010-07-201-1/+16
| | | | previous code produced wrong encodings for certain characters.
* add missing automake / autoconf filesHarald Welte2010-02-201-0/+5
|
* intial checkin of the libosmocore projectHarald Welte2010-02-201-0/+47