libosmocore/tests
Philipp Maier c5b47cc032 add function msgb_printf() to print formatted text into msg buf
In ASCII string based protocols it a printf() version that prints
directly to the message buffer may be useful.

Add function msgb_printf(), make sure that msg buffer bounderies
are not exceeded. If the end of the tail buffer is hit, return
with an error code.

Change-Id: I15e1af68616309555d0ed9ac5da027c9833d42e3
2017-10-22 20:09:26 +00:00
..
a5 fix compiler warnings for a5 tests 2015-04-07 20:08:38 +02:00
abis abis_test.c: Fix warning appearing on some buggy gcc versions 2017-06-22 12:22:44 +02:00
auth milenage_test: cosmetic: verify AUTS in comments 2017-03-15 13:46:58 +00:00
bits bitcomp: Remove the t4 decoding from libosmocore 2016-11-10 17:07:45 +00:00
bitvec Add function to get uninterrupted bit run 2017-01-06 10:37:42 +00:00
codec Fix wrongful GSM FR codec SID frame detection in DTX. 2017-06-09 08:14:18 +00:00
coding libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
comp128 tests: test actual support status for auth. algo 2016-06-29 16:33:40 +00:00
conv tests/conv: add GSM 05.03 specific test 2017-04-30 02:59:42 +07:00
ctrl CTRL: add unit tests for CTRL command parsing 2017-09-27 14:04:23 +00:00
endian introduce byteswap.h with osmo_{htonl,ntohl,htons,ntohs} 2017-05-15 13:42:00 +02:00
fr fr_test: Speculative build fix for FreeBSD 2013-01-15 21:18:02 +01:00
fsm fsm_test.c: fix unreachable check 2017-05-15 12:51:15 +00:00
gb gprs_ns_test.c: Remove unused byte arrays 2017-06-18 10:40:18 +02:00
gea Add GEA3 & GEA4 ciphers 2016-07-11 19:15:24 +00:00
gprs Make osmo_apn_to_str() more robust 2017-10-20 18:19:58 +00:00
gsm0408 libosmogsm: add Routing Area Identifier test 2017-09-01 07:57:40 +00:00
gsm0808 gsm0808: fix AoIP speech codec element parser/generator 2017-06-22 17:08:14 +00:00
gsm23003 gsm: make osmo_imsi_str_valid() NULL-safe 2017-10-10 14:38:10 +00:00
gsup gsup: Add encoding/decoding for the pdp charging characteristics 2017-07-07 21:54:38 +02:00
kasumi kasumi_test.c: fix incomplete check 2017-05-14 20:27:22 +03:00
lapd lapd_test.c: Convert compilation warning to level message 2017-06-21 13:56:37 +00:00
logging fix logging: log_set_category_filter() for internal DL* logging cats 2016-12-12 16:56:54 +01:00
loggingrb logginrb: Fix compiler warning about fprintf 2015-04-11 19:33:10 +02:00
msgb add function msgb_printf() to print formatted text into msg buf 2017-10-22 20:09:26 +00:00
msgfile build: resolve compiler warning about implicit delcaration 2014-10-04 11:49:23 +02:00
oap GSUP, OAP, osmo-gen-vec: fix AUTS length to 14, not 16 2017-02-02 20:34:16 +01:00
osmo-auc-gen umts aka: add sqn_ms out-param, print SQN.MS in osmo-auc-gen 2017-08-29 12:46:46 +00:00
prbs Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
sercomm sercomm_test.c: return correctly in main 2017-06-22 18:14:17 +00:00
sim sim: Fix compiler warning and by this fixing the test result 2016-03-21 11:29:16 +01:00
sms sms_test.c: Remove test of deprecated wrapper function 2017-06-18 10:40:18 +02:00
smscb test: Fix compiler warnings on 64bit systems 2015-11-09 16:46:03 +00:00
socket osmo_sock_get_name(): clearly indicate local and remote 2017-07-03 17:29:05 +00:00
stats stats_test: fix mismatching osmo_stats_reporter->send_item signature 2017-01-15 18:10:15 +00:00
strrb utils: Introduce OSMO_ASSERT in the utils and use it in the unit tests 2013-03-09 23:52:29 +01:00
timer timer: add osmo_timer_setup() 2017-05-09 12:10:51 +02:00
tlv tlv_test.c: Fix compilation warnings 2017-06-18 10:40:18 +02:00
ussd ussd: Decode interrogateSS that doesn't have test 2016-07-12 17:45:34 +02:00
utils utils: add osmo_is_hexstr(), add unit test 2017-10-09 16:30:45 +02:00
vty vty: install 'exit', 'end',... commands on *all* nodes 2017-09-27 14:04:09 +00:00
write_queue wqueue: Reject messges if queue is considered full 2016-12-09 11:37:37 +01:00
Makefile.am add osmo_imsi_str_valid() and osmo_msisdn_str_valid() 2017-10-05 19:44:28 +02:00
atlocal.in build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
testsuite.at add osmo_imsi_str_valid() and osmo_msisdn_str_valid() 2017-10-05 19:44:28 +02:00