aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/Makefile.am
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-21 17:13:23 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-11-27 15:40:01 +0100
commita99b42709a09b1b822da0e431bf3308da7b7a295 (patch)
tree0be940576b0b991e515ee5ecbec0d0456cfcbec1 /tests/msc_vlr/Makefile.am
parent785fadc0d9a27e9706a421b933213330291f3dab (diff)
add msc_vlr_test_call to reproduce a sanitizer error
On MT call, there is a bug in CC conn use which leads to an early free and use-after-free. Add msc_vlr_test_call to show both MO and MT call legs separately and reproduce the failure. It is visible in a sanitizer build (on debian 9). A subsequent patch will fix the bug: If0659a878deb383ed0300217e2c41c8c79b2b6a5 Related: OS#2672 Change-Id: I6c3ca0c660388b1e2c82df17ec540c846201b0c7
Diffstat (limited to 'tests/msc_vlr/Makefile.am')
-rw-r--r--tests/msc_vlr/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/msc_vlr/Makefile.am b/tests/msc_vlr/Makefile.am
index 7fc9212bb..8bbe6cba2 100644
--- a/tests/msc_vlr/Makefile.am
+++ b/tests/msc_vlr/Makefile.am
@@ -31,6 +31,8 @@ AM_LDFLAGS = \
-Wl,--wrap=msc_stop_paging \
-Wl,--wrap=gsm340_gen_scts \
-Wl,--wrap=RAND_bytes \
+ -Wl,--wrap=msc_call_assignment \
+ -Wl,--wrap=msc_call_release \
$(NULL)
LDADD = \
@@ -75,6 +77,8 @@ EXTRA_DIST = \
msc_vlr_test_ms_timeout.err \
msc_vlr_test_reject_concurrency.ok \
msc_vlr_test_reject_concurrency.err \
+ msc_vlr_test_call.ok \
+ msc_vlr_test_call.err \
msc_vlr_test_rest.ok \
msc_vlr_test_rest.err \
$(NULL)
@@ -89,6 +93,7 @@ noinst_PROGRAMS = \
msc_vlr_test_hlr_timeout \
msc_vlr_test_ms_timeout \
msc_vlr_test_reject_concurrency \
+ msc_vlr_test_call \
msc_vlr_test_rest \
$(NULL)
@@ -137,6 +142,11 @@ msc_vlr_test_reject_concurrency_SOURCES = \
msc_vlr_tests.c \
$(NULL)
+msc_vlr_test_call_SOURCES = \
+ msc_vlr_test_call.c \
+ msc_vlr_tests.c \
+ $(NULL)
+
msc_vlr_test_rest_SOURCES = \
msc_vlr_test_rest.c \
msc_vlr_tests.c \
@@ -153,4 +163,5 @@ update_exp:
$(builddir)/msc_vlr_test_hlr_timeout >$(srcdir)/msc_vlr_test_hlr_timeout.ok 2>$(srcdir)/msc_vlr_test_hlr_timeout.err
$(builddir)/msc_vlr_test_ms_timeout >$(srcdir)/msc_vlr_test_ms_timeout.ok 2>$(srcdir)/msc_vlr_test_ms_timeout.err
$(builddir)/msc_vlr_test_reject_concurrency >$(srcdir)/msc_vlr_test_reject_concurrency.ok 2>$(srcdir)/msc_vlr_test_reject_concurrency.err
+ $(builddir)/msc_vlr_test_call >$(srcdir)/msc_vlr_test_call.ok 2>$(srcdir)/msc_vlr_test_call.err
$(builddir)/msc_vlr_test_rest >$(srcdir)/msc_vlr_test_rest.ok 2>$(srcdir)/msc_vlr_test_rest.err