2012-01-06 14:16:12 +00:00
|
|
|
AT_INIT
|
|
|
|
AT_BANNER([Regression tests.])
|
|
|
|
|
2017-09-29 12:33:35 +00:00
|
|
|
AT_SETUP([gsm0408])
|
|
|
|
AT_KEYWORDS([gsm0408])
|
|
|
|
cat $abs_srcdir/gsm0408/gsm0408_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/gsm0408/gsm0408_test], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
add struct bsc_subscr, separating libbsc from gsm_subscriber
In a future commit, gsm_subscriber will be replaced by vlr_subscr, and it will
not make sense to use vlr_subscr in libbsc. Thus we need a dedicated BSC
subscriber: struct bsc_subscr.
Add rf_policy arg to bsc_grace_paging_request() because the bsc_subscr will no
longer have a backpointer to gsm_network (used to be via subscr->group).
Create a separate logging filter for the new BSC subscriber. The implementation
of adjusting the filter context is added in libbsc to not introduce
bsc_subscr_get/_put() dependencies to libcommon.
During Paging Response, fetch a bsc_subscr from the mobile identity, like we do
for the gsm_subscriber. It looks like a duplication now, but will make sense
for the VLR as well as for future MSC split patches.
Naming: it was requested to not name the new struct bsc_sub, because 'sub' is
too ambiguous. At the same time it would be fine to have 'bsc_sub_' as function
prefix. Instead of struct bsc_subscriber and bsc_sub_ prefix, I decided to
match both up as struct bsc_subscr and bsc_subscr_ function prefix. It's fast
to type, relatively short, unambiguous, and the naming is consistent.
Add bsc_subscr unit test.
Related: OS#1592, OS#1594
Change-Id: Ia61cc00e8bb186b976939a4fc8f7cf9ce6aa3d8e
2017-02-18 21:20:46 +00:00
|
|
|
AT_SETUP([bsc_subscr])
|
|
|
|
AT_KEYWORDS([bsc_subscr])
|
|
|
|
cat $abs_srcdir/subscr/bsc_subscr_test.ok > expout
|
|
|
|
cat $abs_srcdir/subscr/bsc_subscr_test.err > experr
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/subscr/bsc_subscr_test], [], [expout], [experr])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
2012-11-22 13:59:46 +00:00
|
|
|
AT_SETUP([abis])
|
|
|
|
AT_KEYWORDS([abis])
|
|
|
|
cat $abs_srcdir/abis/abis_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/abis/abis_test], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
2013-09-17 11:59:29 +00:00
|
|
|
|
|
|
|
AT_SETUP([bsc])
|
|
|
|
AT_KEYWORDS([bsc])
|
|
|
|
cat $abs_srcdir/bsc/bsc_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/bsc/bsc_test], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
2013-10-15 10:00:26 +00:00
|
|
|
|
2018-07-13 07:17:07 +00:00
|
|
|
AT_SETUP([codec_pref])
|
|
|
|
AT_KEYWORDS([codec_pref])
|
|
|
|
cat $abs_srcdir/codec_pref/codec_pref_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/codec_pref/codec_pref_test], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
2016-09-29 15:01:57 +00:00
|
|
|
AT_SETUP([nanobts_omlattr])
|
|
|
|
AT_KEYWORDS([nanobts_omlattr])
|
|
|
|
cat $abs_srcdir/nanobts_omlattr/nanobts_omlattr_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/nanobts_omlattr/nanobts_omlattr_test], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
2017-11-07 02:38:28 +00:00
|
|
|
|
2018-03-22 03:54:57 +00:00
|
|
|
AT_SETUP([neighbor_ident])
|
|
|
|
AT_KEYWORDS([neighbor_ident])
|
|
|
|
cat $abs_srcdir/handover/neighbor_ident_test.ok > expout
|
|
|
|
cat $abs_srcdir/handover/neighbor_ident_test.err > experr
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/neighbor_ident_test], [], [expout], [experr])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
2017-12-07 02:54:01 +00:00
|
|
|
AT_SETUP([handover test 0])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 0], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 1])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 1], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 2])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 2], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 3])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 3], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 4])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 4], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 5])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 5], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 6])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 6], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 7])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 7], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 8])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 8], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 9])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 9], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 10])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 10], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 11])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 11], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 12])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 12], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 13])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 13], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 14])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 14], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 15])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 15], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 16])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 16], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 17])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 17], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 18])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 18], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 19])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 19], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 20])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 20], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 21])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 21], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 22])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 22], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 23])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 23], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 24])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 24], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 25])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 25], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 26])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 26], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 27])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 27], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|
|
|
|
|
|
|
|
AT_SETUP([handover test 28])
|
|
|
|
AT_KEYWORDS([handover])
|
|
|
|
cat $abs_srcdir/handover/handover_test.ok > expout
|
|
|
|
AT_CHECK([$abs_top_builddir/tests/handover/handover_test 28], [], [expout], [ignore])
|
|
|
|
AT_CLEANUP
|