summaryrefslogtreecommitdiffstats
path: root/tests/ussd/ussd_test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Initialize log system to fix crash, update test resultHolger Hans Peter Freyther2011-11-141-0/+6
| | | | | | | | 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.
* include: reorganize headers file to include/osmocom/[gsm|core]Pablo Neira Ayuso2011-03-231-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>
* ussd: Verify that parsing is stil working and print the decoded text.Holger Hans Peter Freyther2010-10-111-0/+5
|
* ussd: Add next test that show that we access the data out of boundsHolger Hans Peter Freyther2010-10-111-0/+23
| | | | | This test is showing that the internal ASN1 code is not checking the size properly.
* ussd: Add a test case, switch parsing to use a gsm48_hdr and lenHolger Hans Peter Freyther2010-10-111-0/+63
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.