Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10255 )

Change subject: tests/Makefile.am: also remove temporary sqlite files
......................................................................

tests/Makefile.am: also remove temporary sqlite files

The osmo_verify_transcript_*.py do terminate the osmo-hlr process
in some unusual way, so the database file is not closed properly.

Let's remove temporary files after the tests execution.

Change-Id: I9e4c98e86c1d6b627bfee1acb4fa116460687483
---
M tests/Makefile.am
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/tests/Makefile.am b/tests/Makefile.am
index 58679ed..7e45da4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -57,6 +57,7 @@
                -r "$(top_builddir)/src/osmo-hlr -c 
$(top_srcdir)/doc/examples/osmo-hlr.cfg -l $(VTY_TEST_DB)" \
                $(U) $(srcdir)/*.vty
        -rm -f $(VTY_TEST_DB)
+       -rm $(VTY_TEST_DB)-*

 CTRL_TEST_DB = hlr_ctrl_test.db

@@ -72,6 +73,7 @@
                -r "$(top_builddir)/src/osmo-hlr -c 
$(top_srcdir)/doc/examples/osmo-hlr.cfg -l $(CTRL_TEST_DB)" \
                $(U) $(srcdir)/*.ctrl
        -rm -f $(CTRL_TEST_DB)
+       -rm $(CTRL_TEST_DB)-*
 
 else
 python-tests:

--
To view, visit https://gerrit.osmocom.org/10255
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9e4c98e86c1d6b627bfee1acb4fa116460687483
Gerrit-Change-Number: 10255
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to