From 7e54e23ac1e97984e2d1d1d876321bebfa7f0fa0 Mon Sep 17 00:00:00 2001 From: Sergey Yershov Date: Mon, 8 Feb 2016 19:58:27 +0300 Subject: [PATCH] [new downloader] Fix routing tests --- routing/routing_tests/osrm_router_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/routing_tests/osrm_router_test.cpp b/routing/routing_tests/osrm_router_test.cpp index 423b162662..c9ac49a9ae 100644 --- a/routing/routing_tests/osrm_router_test.cpp +++ b/routing/routing_tests/osrm_router_test.cpp @@ -62,7 +62,7 @@ void TestMapping(InputDataT const & data, platform::tests_support::ScopedMwm mapMwm( platform::GetFileName(localFile.GetCountryFile().GetName(), MapOptions::Map, version::FOR_TESTING_TWO_COMPONENT_MWM1)); - static char const ftSegsPath[] = "test1.tmp"; + static string const ftSegsPath = GetPlatform().WritablePathForFile("test1.tmp"); platform::CountryIndexes::PreparePlaceOnDisk(localFile); string const & featuresOffsetsTablePath =