aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
AgeCommit message (Collapse)AuthorFilesLines
2014-01-02utils: Add a simple testcase for osmo_hexdumpHolger Hans Peter Freyther1-0/+6
This code makes a simple dump and tests for the corner case
2013-12-07Refactor COMP128v23 implementation and add test suitMax1-0/+6
2013-10-08tests/gb: Add test for GPRS NS protocolJacob Erlbeck1-0/+6
This tests the connection establishment by directly calling gprs_ns_rcvmsg() and printing the resulting messages and the NS-VC list.
2013-08-13tests: Move expensive tests to the end of the listJacob Erlbeck1-13/+13
This lets make check fail earlier (in average) to shorten the debugging cycle time.
2013-08-06vty: Fix misusage of snprintf in vty/utils.cJacob Erlbeck1-0/+6
Compiled with ubuntu 1204 (precise), where -Wformat-security is enabled by -Wall. Test yields ok, but the current implementation doesn't properly support multi-character separators and end strings. So the test output is truncated. Addresses: utils.c: In function 'vty_cmd_string_from_valstr': utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security]
2013-03-25tests: Verify that all tests exit with status=0.Holger Hans Peter Freyther1-17/+17
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-0/+13
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
2013-02-27Revert "Added a ring buffer log target to store the last N log messages."Holger Hans Peter Freyther1-13/+0
I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad.
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-0/+13
The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
2013-01-15fr: Begin with a GRE/FrameRelay test due the recent regressionHolger Hans Peter Freyther1-0/+8
The framerelay code is seldomly used and the socket clean ups introduced a regression. Create a testcase that will work as a user not having the right capabilities to create raw sockets. We have to make sure that this test is working even when not ran as root. The easiest way to do this is to provide our own socket implementation. This is done with dlopen/dlsym to convert the raw socket request to an UDP one.
2012-09-27logging: Move the logging test from OpenBSC into libosmocoreHolger Hans Peter Freyther1-0/+7
Add a testcase for the logging facility. The test is coming from the OpenBSC code.
2012-09-11tests: Make the gb test work with srcdir != builddirHolger Hans Peter Freyther1-1/+1
* Disable color and printing the filename of the stderr log target, update the results * Add the .ok, .err and .sh files to the extra_dist * Execute the shell script from the source directory
2012-09-07GPRS BSSGP test: integrate into autotestHarald Welte1-0/+7
we use a smalle shell script to iterate over multiple tests
2012-08-24GSM 04.08: Add support for parsing CSD related bearer capabilitiesHarald Welte1-0/+6
Also adds a test case for both encoder and decoder of this IE
2012-01-22tests: Introduce a very basic gsm0808 testHolger Hans Peter Freyther1-0/+6
This tests verifies the content of the GSM 08.08 messages, it does not verify the remaining headroom (which the SCCP/IPA code relies on being plenty to prepend the header). More to come in the future.
2011-12-11lapdm: Create a simple test case to transmit data between both ends0.4.1Holger Hans Peter Freyther1-0/+6
This is testing the establishment of two ends (BTS, MS) one is in the polling mode as used by osmo-bts. Transfer data between the two ends. The sent data is not verified though. This should be followed up soon.
2011-12-07add autotest script for milenage/auth testingHarald Welte1-0/+6
2011-11-24core/conv: Add regression testing codeSylvain Munaut1-0/+6
It tests both a given test vector encoding/decoding, and some random coding/decoding cycles. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-17tests: fix cut & paste errorSylvain Munaut1-1/+1
Damn ... I fixed it locally and didn't properly commit the fix before push. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-17tests/a5: Add a5 regression testingSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-14tests: Fix the make distcheck of libosmocore with the testsHolger Hans Peter Freyther1-2/+0
2011-11-14tests: Initialize log system to fix crash, update test resultHolger Hans Peter Freyther1-1/+1
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: Reduce the iterations for the timertest, ignore stderrHolger Hans Peter Freyther1-1/+1
Use one of the magic commands for the stderr, in this case we want to log the output but ignore it for processing. http://www.gnu.org/s/hello/manual/autoconf/Writing-Testsuites.html#Writing-Testsuites
2011-11-14tests: Use GNU autotest to execute our tests and compare textual outputHolger Hans Peter Freyther1-0/+45
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)