From 333abbe160c3218c8525026518b8cc635dde299f Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 19 Jun 2020 11:19:09 +0200 Subject: #986 rename to ogserver --- tests/config/ogAdmServer.cfg | 8 -------- tests/config/ogserver.cfg | 8 ++++++++ tests/run-tests.py | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 tests/config/ogAdmServer.cfg create mode 100644 tests/config/ogserver.cfg (limited to 'tests') diff --git a/tests/config/ogAdmServer.cfg b/tests/config/ogAdmServer.cfg deleted file mode 100644 index 41d812b..0000000 --- a/tests/config/ogAdmServer.cfg +++ /dev/null @@ -1,8 +0,0 @@ -ServidorAdm=localhost -PUERTO=2008 -USUARIO=test-db -PASSWORD=test-db -datasource=localhost -CATALOG=test-db -INTERFACE=eth1 -APITOKEN=07b3bfe728954619b58f0107ad73acc1 diff --git a/tests/config/ogserver.cfg b/tests/config/ogserver.cfg new file mode 100644 index 0000000..41d812b --- /dev/null +++ b/tests/config/ogserver.cfg @@ -0,0 +1,8 @@ +ServidorAdm=localhost +PUERTO=2008 +USUARIO=test-db +PASSWORD=test-db +datasource=localhost +CATALOG=test-db +INTERFACE=eth1 +APITOKEN=07b3bfe728954619b58f0107ad73acc1 diff --git a/tests/run-tests.py b/tests/run-tests.py index 1a59a34..ba28acd 100755 --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -26,16 +26,16 @@ if os.getuid() is not 0: print('You need to be root to run these tests :-)') exit() -if os.path.isfile('../ogAdmServer') is not True: - print('You need to build the ogAdmServer binary to run these tests :-)') +if os.path.isfile('../ogserver') is not True: + print('You need to build the ogserver binary to run these tests :-)') exit() start_mysql(); -subprocess.Popen(['../ogAdmServer', '-f', 'config/ogAdmServer.cfg']) +subprocess.Popen(['../ogserver', '-f', 'config/ogserver.cfg']) subprocess.run('python3 -m unittest discover -s units -v', shell=True) stop_mysql(); -subprocess.run(['pkill', 'ogAdmServer']) +subprocess.run(['pkill', 'ogserver']) -- cgit v1.2.3-18-g5258