aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run_multinode.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_multinode.sh')
-rwxr-xr-xtests/run_multinode.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/run_multinode.sh b/tests/run_multinode.sh
index 5ccdf65..235eaf1 100755
--- a/tests/run_multinode.sh
+++ b/tests/run_multinode.sh
@@ -17,12 +17,13 @@ CLIENT1_CLIPORT=9100
CLIENT2_CLIPORT=9200
LOGLEVEL=DEBUG
-toscafile_test1=./tosca-templates/tosca_helloworld_nfv.yaml
-test1_reffile1=./tests/refdata/test1_client1.ref
-test1_reffile2=./tests/refdata/test1_client2.ref
-client1_log=./tests/logdata/client1.log
-client2_log=./tests/logdata/client2.log
-server_log=./tests/logdata/server.log
+dir=$(python -c "import sysconfig; print sysconfig.get_path('platlib')")
+toscafile_test1=${dir}/tosca-templates/tosca_helloworld_nfv.yaml
+test1_reffile1=${dir}/tests/refdata/test1_client1.ref
+test1_reffile2=${dir}/tests/refdata/test1_client2.ref
+client1_log=${dir}/tests/logdata/client1.log
+client2_log=${dir}/tests/logdata/client2.log
+server_log=${dir}/tests/logdata/server.log
start_server() {