summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-12-06tests: Remove the missing and use it from $(top_srcdir)0.0.6.2Holger Hans Peter Freyther2-378/+2
2011-11-20tests: Run the existing tests with GNU AutotestHolger Hans Peter Freyther12-6/+565
SCCP: Use DST/SRC Ref instead of the pointer value to create stable releases.
2011-07-16{m2ua,sccp}_test: use (void) ANSI function declarationsHarald Welte2-5/+5
2011-06-30misc: Fix the log_init init call with a recent libosmocore0.0.6.1Holger Hans Peter Freyther1-1/+1
2011-06-04sccp: Make sccp_write take an additional local context0.0.6Holger Hans Peter Freyther1-7/+7
For connection less data there is no way to pass a per context data for outgoing data, add one.
2011-05-08tests: update to libosmocore namespace prefix (osmo_)0.0.5.1Harald Welte2-4/+4
2011-03-23Update include paths with libosmocore 0.2.00.0.5Harald Welte2-5/+5
2011-01-14m2ua: Pad the data properly, read over the padding properlyHolger Hans Peter Freyther1-0/+37
2011-01-14m2ua: Move the test into a new function.Holger Hans Peter Freyther1-1/+6
2011-01-13m2ua: Implement to find a tag inside a messageHolger Hans Peter Freyther1-0/+10
2011-01-13m2ua: Free the resources at the endHolger Hans Peter Freyther1-0/+3
2011-01-13build: Fix building on maverickHolger Hans Peter Freyther1-1/+1
2011-01-12m2ua: Add parsing and creation of m2ua packagesHolger Hans Peter Freyther3-1/+61
2010-11-26sccp: Print the wrong data so one can compare it.Holger Hans Peter Freyther1-1/+2
2010-11-26sccp: Add a test case for GTI creation, set the SSN indicator bitHolger Hans Peter Freyther1-0/+21
Make sure that creating an address that should be routed based on the GTI can be created properly.
2010-11-26sccp_test: Add a test case for SCCP Addresses with POIWenbin WU1-0/+16
2010-11-16sccp: Rewrite the sccp_test_addr to set the size correctlyHolger Hans Peter Freyther1-0/+43
Fix the code to set the number of consumed bytes correctly and return the number of bytes consumed for for the address. Add a simple but expandable test case to test the SCCP address
2010-08-25sccp: Pass the sccp_connection down to the send method if it exists0.0.3Holger Hans Peter Freyther1-3/+3
This allows to identify the sccp connection and send the SCCP payload down to a different stream depending on the connection. It will be used by the bsc_msc_ip to keep multiple MSC connections open.
2010-08-01mtp: Add the MTP Level3 code to the SCCP repoistoryHolger Hans Peter Freyther3-1/+634
SCCP can be wrapped inside the MTP Level3, and one can use it for link testing as well. This repository should be renamed to libosmo-itu or libosmo-ss7 and be a host to SS7 related encapsulation... The code is coming from the cellmgr-ng code.
2010-08-01sccp: Rename the SCCP file and delete the sccp/ directory..Holger Hans Peter Freyther1-1/+1
2010-08-01sccp: Add test case for GTI...Holger Hans Peter Freyther1-5/+82
2010-07-31sccp_test: Add debug code to the test app to have extended debuggingHolger Hans Peter Freyther1-0/+25
2010-07-31sccp_test: Compile the sccp.c directly into the binaryHolger Hans Peter Freyther1-2/+2
Do not link to the static library, but include the single source file to always have an up-to-date binary without dependencies between Makefiles.
2010-07-31sccp_test: Change FAIL to abort immediately, remove code after a FAILHolger Hans Peter Freyther1-36/+9
Abort the test case in case of any failure.
2010-07-30sccp: Add a new buildsystem for the OSMO SCCP libraryHolger Hans Peter Freyther1-0/+1
2010-07-30sccp: Adjust the code to only depend on libosmocoreHolger Hans Peter Freyther2-3/+4
* Introduce a method to set the value of the debug area to use and default it to -1. Turn the DSCCP enum into a local variable to make the log messages work. * Remove usage of openbsc and libbsc.a
2010-07-23sccp: u_int16_t -> uint16_tHolger Hans Peter Freyther1-1/+1
2010-07-23sccp: u_int8_t -> uint8_tHolger Hans Peter Freyther1-19/+19
2010-04-25[sccp] Parse the error message and add a unit test for it.Holger Hans Peter Freyther1-1/+20
2010-03-26sccp: Change the ownership of the msgb passed to the callbackHolger Hans Peter Freyther1-10/+14
Instead of deleting the msgb within the SCCP library the implementor of the write callback needs to free it. This is required for non blocking io with the server.
2010-02-26Merge remote branch 'origin/master' into on-waves/sccpHolger Hans Peter Freyther2-3/+5
2010-02-26[misc] Add LIBOSMOCORE_CFLAGS to the includesHolger Hans Peter Freyther1-1/+1
2010-02-26[sccp] Implement parsing the rather easy IT messages.Holger Hans Peter Freyther1-0/+100
2010-02-20finish openbsc / libosmocore separationHarald Welte2-2/+2
* use pkg-config from openbsc to find header and library * move sms and timer tests to libosmocore itself * ensure "make distcheck" works on both packages
2010-02-12Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-1/+1
2010-02-12[sccp] Make the file includable outside of OpenBSCHolger Hans Peter Freyther1-1/+3
2010-02-09liblaf0rge: Make the other targets depend on the liblaforge...Holger Hans Peter Freyther1-1/+1
Everything is linking fine here.
2010-02-03[sccp] Refer to the right Company in the Copyright/Copyleft lineHolger Hans Peter Freyther1-1/+1
Use On-Waves instead of the name I made up from the domain name.
2009-12-23[sccp] Provide dummy db_store_counter...Holger Hans Peter Freyther1-0/+2
2009-11-20[sccp] Implement sending the Inactivity Test on a connection..Holger Hans Peter Freyther1-0/+1
Currently this will send a dummy inactivity test message, there is currently no parsing or API to receive the messages. The sequencing and credit entries are empty as sequencing is currently not used at all. The test is currently limited to send the message and see if the application is crashing or not.
2009-11-20[sccp] Implement parts of ITU SCCP for use in the A-InterfaceHolger Hans Peter Freyther2-0/+731
include/sccp/sccp_types.h contain Q.713 and GSM definitions include/sccp/sccp.h is the application interface resembling the esentials of the UNIX socket interface. src/sccp.c is the actual implementation of SCCP featuring connection and UDT1 support. tests/sccp/sccp.c is testing connection creation and formating of the SCCP messages used by the A-interface. And it contains a simple fuzzing test to test the robustnes of the implementation.