diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-06-10 12:36:38 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-06-10 13:26:47 +0200 |
commit | 800d29d798af01f3502bb6437e87ed19ce422eb8 (patch) | |
tree | 117bd47e0734267ad6c0e595b2fd32fc8e706c75 /openbsc/tests/channel/Makefile.am | |
parent | 04866d42792f59b334a13e836237947222b41127 (diff) |
[channel] Add a test case for the request foo in gsm_subscriber.c
This is simulating a successfull request and is causing
a segfault. The test is done with a "mock object" in this
case a minimalistic paging implementation which is enough
to show the crash.
Compare that the callback data is supposed to be the same....
Diffstat (limited to 'openbsc/tests/channel/Makefile.am')
-rw-r--r-- | openbsc/tests/channel/Makefile.am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/tests/channel/Makefile.am b/openbsc/tests/channel/Makefile.am new file mode 100644 index 000000000..60defe0a6 --- /dev/null +++ b/openbsc/tests/channel/Makefile.am @@ -0,0 +1,14 @@ +INCLUDES = $(all_includes) -I$(top_srcdir)/include +AM_CFLAGS=-Wall -ggdb3 + +noinst_PROGRAMS = channel_test + +channel_test_SOURCES = channel_test.c \ + $(top_srcdir)/src/db.c \ + $(top_srcdir)/src/gsm_subscriber.c \ + $(top_srcdir)/src/debug.c \ + $(top_srcdir)/src/timer.c \ + $(top_srcdir)/src/select.c \ + $(top_srcdir)/src/gsm_data.c +channel_test_LDADD = -ldl -ldbi + |