This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
srs_andre gerrit-no-reply at lists.osmocom.orgsrs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/22045 )
Change subject: srslte_common: on stop(), send q+Enter to stdin of process
......................................................................
srslte_common: on stop(), send q+Enter to stdin of process
this allows application to self-terminate so at least
a few more lines are stored available in the captures stdout
of the process before the SSH connection is killed
Change-Id: Ibfd778494bf689f647e87de4ee281a468456fed0
---
M src/osmo_gsm_tester/obj/srslte_common.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/45/22045/1
diff --git a/src/osmo_gsm_tester/obj/srslte_common.py b/src/osmo_gsm_tester/obj/srslte_common.py
index 1d03a58..21001b7 100644
--- a/src/osmo_gsm_tester/obj/srslte_common.py
+++ b/src/osmo_gsm_tester/obj/srslte_common.py
@@ -36,6 +36,8 @@
self.stop_sleep_time = 0
def stop(self):
+ # Send q+Enter to stdin to self-terminate application
+ self.process.stdin_write('q\n')
self.testenv.stop_process(self.process)
self.sleep_after_stop()
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/22045
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ibfd778494bf689f647e87de4ee281a468456fed0
Gerrit-Change-Number: 22045
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210107/acd379b4/attachment.htm>