diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-10-27 17:39:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-10-27 18:00:12 +0200 |
commit | db736f432aafb54a6b9469cabf5fa3cbbe359e9f (patch) | |
tree | 3be6beb54949e919e99446a53f40d31a04b808bd /tests/testsuite.at | |
parent | 212d0c4c7614c2ec2796dd21ab240c2d70743a1e (diff) |
implement unit tests for osmo_sccp_addr_{parse,encode}()
The recent bug with chopped-off point codes in SCCP Address handling
has shown that this code could need proper test cases. This patch
adds a testsuite for SCCP address encoding and decoding.
Related: OS#2441
Change-Id: I612352736ab33462ca0dd97798a2c437eadccb86
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index b810bdf..ebc43e7 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -22,7 +22,8 @@ AT_CLEANUP AT_SETUP([xua]) AT_KEYWORDS([xua]) cat $abs_srcdir/xua/xua_test.ok > expout -AT_CHECK([$abs_top_builddir/tests/xua/xua_test], [], [expout], [ignore]) +cat $abs_srcdir/xua/xua_test.err > experr +AT_CHECK([$abs_top_builddir/tests/xua/xua_test], [], [expout], [experr]) AT_CLEANUP AT_SETUP([ss7]) |