summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")