summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs1_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfs1_unittest.cc')
-rw-r--r--src/fs/virtfs/virtfs1_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfs1_unittest.cc b/src/fs/virtfs/virtfs1_unittest.cc
index 0be1db81e..0c7f1c84b 100644
--- a/src/fs/virtfs/virtfs1_unittest.cc
+++ b/src/fs/virtfs/virtfs1_unittest.cc
@@ -2104,10 +2104,16 @@ TEST_CASE("VirtFs1 getFilesWithDir2")
list.clear();
VirtFs::getFilesWithDir(pathJoin("evol", "icons"), list);
+#ifdef WIN32
+ REQUIRE(list.size() == 1);
+ REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.ico"));
+#else // WIN32
+
REQUIRE(list.size() == 3);
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.ico"));
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.png"));
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.xpm"));
+#endif // WIN32
VirtFs::unmountDir(prefix + "data");
}