aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarehbein <arehbein@sysmocom.de>2023-08-25 17:38:43 +0200
committerarehbein <arehbein@sysmocom.de>2023-08-25 17:43:49 +0200
commitaede010687c87b8d1b47ca0643528cf39bbda406 (patch)
treec753d40d3d4bcefeedc2597a87881b031c05d883
parentf990b307bdc2c2f7dc94256094d3b60917d37177 (diff)
stream test: Fix test output check
A previous commit added additional logging information, necessitating changes to the test code as well as to the output check. Related:OS#5753 Change-Id: Ib8f01c3651c13814c212328946415094da39d6a8
-rw-r--r--tests/stream/stream_test.c1
-rw-r--r--tests/stream/stream_test.err2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/stream/stream_test.c b/tests/stream/stream_test.c
index 01ebb23..20afc55 100644
--- a/tests/stream/stream_test.c
+++ b/tests/stream/stream_test.c
@@ -538,6 +538,7 @@ static void *test_segm_ipa_stream_srv_run_client(void)
return NULL;
}
osmo_stream_cli_set_addr(osc, "127.0.0.11");
+ osmo_stream_cli_set_local_port(osc, 8977);
osmo_stream_cli_set_port(osc, 1111);
osmo_stream_cli_set_connect_cb(osc, test_segm_ipa_stream_srv_cli_connect_cb);
osmo_stream_cli_set_data(osc, ctx);
diff --git a/tests/stream/stream_test.err b/tests/stream/stream_test.err
index df0ebc3..03ce0cf 100644
--- a/tests/stream/stream_test.err
+++ b/tests/stream/stream_test.err
@@ -47,3 +47,5 @@ CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CONNECTED} connection clo
CLICONN(cli_test,r=127.0.0.11:1111<->l=127.0.0.1:8976){CLOSED} not reconnecting, disabled
{20.000019} non-reconnecting test step 0 [client OK, server OK], FD reg 0
+SRV(srv_link_test,127.0.0.11:1111) accept()ed new link from 127.0.0.1:8977
+CLICONN(,r=127.0.0.11:1111<->l=127.0.0.1:8977){CONNECTING} connection established