diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-15 14:55:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-15 14:55:24 +0300 |
commit | 42b05f92d4466aa49806ab7d1e6985ad943ae1ea (patch) | |
tree | caa8b4dbe8e3263b4f0ea380940a5ba2ce115383 | |
parent | a0188dc2bd98252ec50edfc09e51baba32b6f0ff (diff) | |
download | manaverse-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.gz manaverse-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.bz2 manaverse-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.tar.xz manaverse-42b05f92d4466aa49806ab7d1e6985ad943ae1ea.zip |
In virtfs tests dump into log additional info about enumerated files.
-rw-r--r-- | src/utils/virtfs_unittest.cc | 14 |
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") |