aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ussd
AgeCommit message (Collapse)AuthorFilesLines
2011-11-14tests: Fix the make distcheck of libosmocore with the testsHolger Hans Peter Freyther1-0/+1
2011-11-14tests: Initialize log system to fix crash, update test resultHolger Hans Peter Freyther2-1/+59
Use osmo_init_logging to initialize the log system to fix crashes when we attempt to parse broken ASN1 messages. Ignore stderr with parse errors, update the test result. make check is now passing.
2011-11-14tests: Use GNU autotest to execute our tests and compare textual outputHolger Hans Peter Freyther1-0/+1
The output of make check is looking like this now: Regression tests. 1: bits ok 2: msgfile ok 3: sms ok 4: smscb ok 5: timer FAILED (testsuite.at:38) 6: ussd FAILED (testsuite.at:44)
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-1/+1
This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23This patch moves the GSM-specific functions to the new libraryPablo Neira Ayuso1-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>
2010-10-11ussd: Verify that parsing is stil working and print the decoded text.Holger Hans Peter Freyther1-0/+5
2010-10-11ussd: Add next test that show that we access the data out of boundsHolger Hans Peter Freyther1-0/+23
This test is showing that the internal ASN1 code is not checking the size properly.
2010-10-11ussd: Add a test case, switch parsing to use a gsm48_hdr and lenHolger Hans Peter Freyther2-0/+68
The current USSD code is not doing any size checks, add a test case to find out how easily we access the data out of bounds. Begin to use the length in some places.