[MERGED] osmo-hlr[master]: ctrl_test_runner.py: use proper constant as test db path

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
Wed Oct 11 20:25:29 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: ctrl_test_runner.py: use proper constant as test db path
......................................................................


ctrl_test_runner.py: use proper constant as test db path

Change-Id: I9533a9ff8c0f8d24c678583a9197143a187908f3
---
M tests/ctrl_test_runner.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/tests/ctrl_test_runner.py b/tests/ctrl_test_runner.py
index 7c14f50..1c5ec2a 100644
--- a/tests/ctrl_test_runner.py
+++ b/tests/ctrl_test_runner.py
@@ -178,7 +178,7 @@
 
     def tearDown(self):
         super(TestCtrlHLR, self).tearDown()
-        os.unlink("hlr_ctrl_test.db")
+        os.unlink(self.HLR_DB)
 
     def ctrl_command(self):
         return ["./src/osmo-hlr", "-c", "doc/examples/osmo-hlr.cfg", '-l', 'hlr_ctrl_test.db']

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9533a9ff8c0f8d24c678583a9197143a187908f3
Gerrit-PatchSet: 2
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list