diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-06 15:16:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-06 18:52:05 +0100 |
commit | 6c88217c1935fcbf864f0cbcddae105eda7e6bb4 (patch) | |
tree | 7e30cd283c855ea9411dbdbcb5d32c85641db159 /openbsc/tests/gsm0408 | |
parent | d5b3ca621b26a70c16cc61fcf9cd4ef0a15fce15 (diff) |
tests: Introduce running tests with GNU autotest in OpenBSC
The quality of the tests is of different value but it is good to
get started and improve from here.
Diffstat (limited to 'openbsc/tests/gsm0408')
-rw-r--r-- | openbsc/tests/gsm0408/Makefile.am | 2 | ||||
-rw-r--r-- | openbsc/tests/gsm0408/gsm0408_test.ok | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/tests/gsm0408/Makefile.am b/openbsc/tests/gsm0408/Makefile.am index 90ca05b5d..6ecdc070c 100644 --- a/openbsc/tests/gsm0408/Makefile.am +++ b/openbsc/tests/gsm0408/Makefile.am @@ -2,6 +2,8 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) noinst_PROGRAMS = gsm0408_test +EXTRA_DIST = gsm0408_test.ok + gsm0408_test_SOURCES = gsm0408_test.c gsm0408_test_LDADD = $(top_builddir)/src/libbsc/libbsc.a \ $(top_builddir)/src/libmsc/libmsc.a \ diff --git a/openbsc/tests/gsm0408/gsm0408_test.ok b/openbsc/tests/gsm0408/gsm0408_test.ok new file mode 100644 index 000000000..52c601e2d --- /dev/null +++ b/openbsc/tests/gsm0408/gsm0408_test.ok @@ -0,0 +1,5 @@ +Testing test location area identifier +Testing parsing and generating TMSI/IMSI +hex: 17 08 99 78 56 34 12 90 78 36 +hex: 17 09 91 78 56 34 12 90 78 56 f4 +Done. |