[PATCH] osmo-gsm-tester[master]: sysmo: use abspath of run dir, to fix scp of cfg to sysmobts

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Sun May 14 18:21:53 UTC 2017


Review at  https://gerrit.osmocom.org/2606

sysmo: use abspath of run dir, to fix scp of cfg to sysmobts

Fixes error:

03:10:40 run   scp-cfg-to-sysmobts(pid=13723): stderr:
 | (launched: 2017-05-14_03:10:36)
| trial-10/run.2017-05-14_03-09-38/osmo-bts-sysmo/osmo-bts-sysmo.cfg: No such file or directory

Change-Id: Ib430657fd0d83a1a59b4b4b0ad6186c95347cb7b
---
M src/osmo_gsm_tester/bts_sysmo.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/06/2606/1

diff --git a/src/osmo_gsm_tester/bts_sysmo.py b/src/osmo_gsm_tester/bts_sysmo.py
index 1c36fb8..065a1fb 100644
--- a/src/osmo_gsm_tester/bts_sysmo.py
+++ b/src/osmo_gsm_tester/bts_sysmo.py
@@ -47,7 +47,7 @@
             if self.nitb is None:
                 raise RuntimeError('BTS needs to be added to a NITB before it can be started')
             self.log('Starting sysmoBTS to connect to', self.nitb)
-            self.run_dir = util.Dir(self.suite_run.trial.get_run_dir().new_dir(self.name()))
+            self.run_dir = util.Dir(os.path.abspath(self.suite_run.trial.get_run_dir().new_dir(self.name())))
             self.configure()
 
             self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst(SysmoBts.BTS_SYSMO_BIN)))

-- 
To view, visit https://gerrit.osmocom.org/2606
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib430657fd0d83a1a59b4b4b0ad6186c95347cb7b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list