dexter has uploaded this change for review.
eim/testenv: put mnesia database into volatile location
When running the TTCN3 testsuite in testenv, we create the database
files in a non-volatile location. This means that with every
consecutive test run, the database from the first test run is
re-used. This may lead to unexpected behaviour.
With this patch we change the location of the database to a volatile
location, so that each testrun uses a fresh database.
Related: SYS#8100
Change-Id: I178e4fcd29880668467b6deaa44f44d142b8c29c
---
M eim/testenv.cfg
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/48/43148/1
diff --git a/eim/testenv.cfg b/eim/testenv.cfg
index 9c564c5..fd578e9 100644
--- a/eim/testenv.cfg
+++ b/eim/testenv.cfg
@@ -4,6 +4,6 @@
copy=../../onomondo-eim/contrib/restop.py ../ipad/example_ca/pki/private/alttest.key ../ipad/example_ca/pki/issued/alttest.crt
[eim]
-program=onomondo-eim -c "$TESTENV_INSTALL_DIR"/etc/osmocom/onomondo-eim.config -r "$TESTENV_INSTALL_DIR"/usr/lib/onomondo-eim -l debug
+program=onomondo-eim -c "$TESTENV_INSTALL_DIR"/etc/osmocom/onomondo-eim.config -r "$TESTENV_INSTALL_DIR"/usr/lib/onomondo-eim -m ./mnesia_db -l debug
make=onomondo-eim
package=onomondo-eim
To view, visit change 43148. To unsubscribe, or for help writing mail filters, visit settings.