summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-15 14:55:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-15 14:55:24 +0300
commit42b05f92d4466aa49806ab7d1e6985ad943ae1ea (patch)
treecaa8b4dbe8e3263b4f0ea380940a5ba2ce115383 /src/utils
parenta0188dc2bd98252ec50edfc09e51baba32b6f0ff (diff)
downloadplus-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.gz
plus-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.bz2
plus-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.xz
plus-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.zip
In virtfs tests dump into log additional info about enumerated files.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/virtfs_unittest.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/utils/virtfs_unittest.cc b/src/utils/virtfs_unittest.cc
index 7265c4a8e..b35d31215 100644
--- a/src/utils/virtfs_unittest.cc
+++ b/src/utils/virtfs_unittest.cc
@@ -79,6 +79,20 @@ TEST_CASE("VirtFs exists")
static void removeTemp(StringVect &restrict list)
{
+ int cnt = 0;
+ std::sort(list.begin(), list.end());
+
+ FOR_EACH (StringVectIter, it, list)
+ {
+ if (*it != "serverlistplus.xml.part")
+ {
+ logger->log("file: %d %s",
+ cnt,
+ (*it).c_str());
+ cnt ++;
+ }
+ }
+
FOR_EACH (StringVectIter, it, list)
{
if (*it == "serverlistplus.xml.part")