From a920534e9422c9b5def1c7e0e487afba52250edb Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Mon, 15 Apr 2019 13:45:18 +0300 Subject: [PATCH] add / to MDBCI_VM_PATH If case of MDBCI_VM_PATH variable does not have trailing slash full names of _network_config and _lables files are defined in the wrong way: MDBCI_VM_PATH is interpreted as a part of file name instead of direcoty name --- maxscale-system-test/testconnections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/testconnections.cpp b/maxscale-system-test/testconnections.cpp index 45659c4c7..a2847ab4f 100644 --- a/maxscale-system-test/testconnections.cpp +++ b/maxscale-system-test/testconnections.cpp @@ -557,7 +557,7 @@ void TestConnections::read_mdbci_info() target = readenv("target", "develop"); mdbci_config_name = readenv("mdbci_config_name", "local"); - vm_path = std::string(mdbci_vm_path) + std::string(mdbci_config_name); + vm_path = std::string(mdbci_vm_path) + std::string("/") + std::string(mdbci_config_name); if (mdbci_config_name != NULL) { std::ifstream nc_file;