aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-11-18 22:11:28 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-11-20 13:09:15 +0100
commit3b9516e0d86b2008ce2b3ccaff25cd804e6bc84c (patch)
tree5fd06eb92913aa8aafbfb556acd2bc510e4fe062 /openbsc/tests
parentac96770ad7160323e2445859e128175d28f49295 (diff)
[sccp] Implement sending the Inactivity Test on a connection..
Currently this will send a dummy inactivity test message, there is currently no parsing or API to receive the messages. The sequencing and credit entries are empty as sequencing is currently not used at all. The test is currently limited to send the message and see if the application is crashing or not.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/sccp/sccp_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/sccp/sccp_test.c b/openbsc/tests/sccp/sccp_test.c
index d3b334f3b..bd28ed179 100644
--- a/openbsc/tests/sccp/sccp_test.c
+++ b/openbsc/tests/sccp/sccp_test.c
@@ -622,6 +622,7 @@ static void do_test_sccp_connection(const struct connection_test *test)
printf("\tWriting test data2\n");
sccp_connection_write(outgoing_con, test_data2);
+ sccp_connection_send_it(outgoing_con);
/* closing connection */
if (test->close_side == 0)